Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
feat(guide): add shared edition-aware product help
BlueSkyID6666f501d9b84f2
diff --git a/bin/builtin-resource-gate.cjs b/bin/builtin-resource-gate.cjsindex 6f0d9bd2..df0dde13 100644--- a/bin/builtin-resource-gate.cjs+++ b/bin/builtin-resource-gate.cjs@@ -33,6 +33,7 @@ const AVATAR_COLORS = new Set(const REQUIRED_BUILTIN_INVENTORY = Object.freeze({system_skills: Object.freeze(['agent-creator',+ 'orkas-guide','package-installer','skill-creator','web-app-sdk',diff --git a/resources/builtin/_manifest.json b/resources/builtin/_manifest.jsonindex 8485d24f..74c14a1b 100644--- a/resources/builtin/_manifest.json+++ b/resources/builtin/_manifest.json@@ -1,6 +1,6 @@{"schema": 1,- "content_tree_sha256": "0e78e96e8b9b5abf21a7977610c05c909e5582414d43da4710e36303fa6111b5",+ "content_tree_sha256": "6e627d500973ee22aa325b3895b7c6e135831632ddc10fb745b5b28e3a445066","files": [{"path": "marketplace/agents/1040b336306f/agent.json",@@ -1769,8 +1769,8 @@},{"path": "system/skills/_system.json",- "bytes": 273,- "sha256": "dfa3d511c76ef69f6c376b3d8e6d74f95ae39d1ed8151e6b9e261cd76a57e359"+ "bytes": 338,+ "sha256": "ece38be5e71044e65fd7b658d01351fda5d7e7c3c39062a151cdc09ac2fee09b"},{"path": "system/skills/agent-creator/references/cli-and-prose.md",@@ -1792,6 +1792,56 @@"bytes": 6726,"sha256": "2aaad51cc8f0c99f6dbeebc68cc0ce29fe8d15051654386641e51aa45de1ef57"},+ {+ "path": "system/skills/orkas-guide/references/agents-skills-and-connectors.md",+ "bytes": 12690,+ "sha256": "6ecd84acbfcdd7209607299f35e544d6ce2674ccae2b71a964c6a29ff4b7027b"+ },+ {+ "path": "system/skills/orkas-guide/references/common-recovery.md",+ "bytes": 4626,+ "sha256": "e00e1f448feefb72f4602c833b18c7b8bd3dad60fd9a2c7c61b26cb71051e04c"+ },+ {+ "path": "system/skills/orkas-guide/references/editions.md",+ "bytes": 1999,+ "sha256": "912a054fb05a5d734ab7b712908a187dbcccdb3544c39ad2b02edfba9d0ee099"+ },+ {+ "path": "system/skills/orkas-guide/references/file-inputs.md",+ "bytes": 3856,+ "sha256": "808010c11a3e03847a4b9b18e780e7507ba4f18cd6091084edb9f2f3f2b847cd"+ },+ {+ "path": "system/skills/orkas-guide/references/getting-started.md",+ "bytes": 8866,+ "sha256": "9feac71b9ad63633fec78310b5f186ce864153b4e320ebc0cf292660ca63e600"+ },+ {+ "path": "system/skills/orkas-guide/references/library-search-and-apps.md",+ "bytes": 8755,+ "sha256": "93eb25b49c51a6b038ce08f28b06dba8797960c5c5baebd6dc81286af0d41f97"+ },+ {+ "path": "system/skills/orkas-guide/references/projects-and-automation.md",+ "bytes": 12622,+ "sha256": "1bf2b91f3caad17bb30cab99b0ca33de2086c13809529cbc3a560dea22ed715b"+ },+ {+ "path": "system/skills/orkas-guide/references/settings-data-and-safety.md",+ "bytes": 18991,+ "sha256": "46b2b57379c81ae8e43ea816819c2733ca589679d0a8501f9a7337c2633c79e1"+ },+ {+ "path": "system/skills/orkas-guide/references/tasks-and-conversations.md",+ "bytes": 8122,+ "sha256": "31273b07be3c0468fc973e35c354ec29c7f6ba0e3eb2df1255dfb15dd2227acb"+ },+ {+ "path": "system/skills/orkas-guide/SKILL.md",+ "bytes": 6898,+ "sha256": "b95feddfbe8d9f3da7f276a8219ada61a89e8e52a96b8ac08875eed7d3670d35"+ },{"path": "system/skills/package-installer/SKILL.md","bytes": 4932,@@ -1879,6 +1929,10 @@"id": "agent-creator","update_at": 1790685144182},+ {+ "id": "orkas-guide",+ "update_at": 1793351372920+ },{"id": "package-installer","update_at": 1789463573592diff --git a/resources/builtin/system/skills/_system.json b/resources/builtin/system/skills/_system.jsonindex cbc96841..b297e2bf 100644--- a/resources/builtin/system/skills/_system.json+++ b/resources/builtin/system/skills/_system.json@@ -14,5 +14,9 @@{"id": "web-app-sdk","update_at": 1792073047732+ },+ {+ "id": "orkas-guide",+ "update_at": 1793351372920}]diff --git a/resources/builtin/system/skills/orkas-guide/SKILL.md b/resources/builtin/system/skills/orkas-guide/SKILL.mdnew file mode 100644index 00000000..4c062464--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/SKILL.md@@ -0,0 +1,73 @@+---+name: orkas-guide+description_zh: "为问答或执行请求确认 Orkas 的支持范围、使用条件、积分与费用、配置、操作与恢复方式,包括任务中隐含的产品能力假设。不用于无关的普通内容工作;只提供产品事实,不接管任务或授予操作权限。"+description_en: "Resolve Orkas support, usage conditions, credits and costs, configuration, operation and recovery facts for questions or actions, including implicit product assumptions. Not for Orkas-independent content; supplies facts, not task ownership or operation authority."+---++# Orkas Guide++Establish the Orkas product facts needed to answer or carry out the user's request. Use the relevant references and current app/tool evidence to determine what is supported and where it is available, whether the request is a question or an instruction to act.++Do not load it merely because requested work happens inside Orkas. Leave creation, editing, installation, and other work to the matching owner; this guide supplies product facts needed for that work. It does not authorize an operation or prove that one succeeded.++Judge support against the requested outcome, not merely whether a resource can be created. If the documented workflow cannot achieve an outcome, say that explicitly before offering an alternative or carrying out the supported part. If evidence is incomplete, state what remains unconfirmed instead of inventing a setting, configuration field, or workaround. An alternative must state which part of the requested outcome it achieves and which part remains unmet.++## Editions++This guide covers the commercial and open-source editions of Orkas. **Commercial edition only** identifies a product boundary, not a requirement for paid membership. Shared local features and user-owned provider credentials remain available in the open-source build; its **Settings** entry replaces the commercial sidebar's **Account settings** path. It has no Orkas desktop sign-in or account/membership page. The edition availability table in [editions.md](references/editions.md) distinguishes account-funded services from provider OAuth and the separate Orkas API Key service. Installed versions can differ; the current controls and tool capabilities determine availability.++## Choose the relevant guide++Read only the references needed for the product facts at issue:++| Product facts needed | Reference |+|---|---|+| Distinguish commercial-only features from the open-source build and user-owned provider/API access | [editions.md](references/editions.md) |+| Understand Orkas, choose features for ongoing work, find the main areas, or complete a first task | [getting-started.md](references/getting-started.md) |+| Start, guide, monitor, stop, retry, revisit, or share a task or its result | [tasks-and-conversations.md](references/tasks-and-conversations.md) |+| Attach, import, or reuse a local file, choose a working folder, or check whether a file format such as ZIP is supported | [file-inputs.md](references/file-inputs.md) |+| Organize ongoing work in a Project or schedule it with Auto | [projects-and-automation.md](references/projects-and-automation.md) |+| Choose an agent or skill, or connect an external service | [agents-skills-and-connectors.md](references/agents-skills-and-connectors.md) |+| Reuse saved material, search across Orkas, or open a saved app | [library-search-and-apps.md](references/library-search-and-apps.md) |+| Configure or choose models, understand whether model/permission settings apply to a task, Agent, or Skill; credits, membership, memory, sync, account data, deletion, notifications, voice input, or app updates | [settings-data-and-safety.md](references/settings-data-and-safety.md) |+| Recover from a common blocked, failed, missing, or disconnected state | [common-recovery.md](references/common-recovery.md) |++For a broad “what can Orkas do?” question, start with `getting-started.md`, then read only the reference for the area the user wants to explore.++## Choose the support shape++- **Explain:** answer a factual “what/how/where” question with the shortest visible path.+- **Navigate:** when an exact supported destination is available, pair the path with the app's click-to-open affordance. Do not invent a destination or claim that the screen opened before the user clicks.+- **Diagnose:** for a reported blocked, failed, disconnected, or stuck state, inspect the smallest available sanitized app-status domain before choosing recovery. Never ask for or expose credentials, local paths, provider error text, or user content.+- **Execute:** use the matching dedicated workflow for the requested operation, retaining this guide's product facts when deciding what can be done. If no dedicated operation exists, give a documented visible path when one exists; otherwise explain the limitation or unresolved availability.+- **Verify:** describe an operation as complete only after its owning workflow returns success evidence; navigation and diagnostic results are not mutation evidence.++## Shape the answer++1. Identify the outcome the user wants.+2. Lead with the supported outcome or relevant limitation, then the shortest documented path when one exists.+3. Give three to seven ordered actions when a procedure is needed.+4. Mention availability, permissions, credits, or data consequences only when they affect this action.+5. Add the relevant recovery step only if the normal path may be blocked.+6. Answer in the user's language while preserving useful visible labels such as **Commander**, **Projects**, **Auto**, or **Account settings**.++Treat every independently named control or action in the selected reference as required coverage before adding recommendations. In particular, an explanation of the task composer's model control must explicitly say that the user can **view models**, **switch models**, and open **Configure models** to **add a model**; do not collapse those three actions into “select” or “manage”.++For a simple “where is this?” question, one or two sentences are enough.++## Coverage++- Cover normal product use and common recovery for Orkas's core workflows.+- For a connected service, explain the Orkas part of the workflow and point the user to that service for its own administration or advanced setup.+- Describe only actions supported by the current Orkas experience. If availability differs by account, region, device, or current catalog, tell the user where to confirm it in Orkas.+- Distinguish pausing or disconnecting something from deleting its data.+- Treat broader tool permission as a deliberate safety choice, not a generic troubleshooting step.++## Preferred response++Use only the sections that help:++- **Path:** where to begin.+- **Steps:** what to do.+- **Note:** a material availability or safety condition.+- **If blocked:** the next recovery action.diff --git a/resources/builtin/system/skills/orkas-guide/references/agents-skills-and-connectors.md b/resources/builtin/system/skills/orkas-guide/references/agents-skills-and-connectors.mdnew file mode 100644index 00000000..cd2686ed--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/agents-skills-and-connectors.md@@ -0,0 +1,97 @@+# Agents, skills, and connectors++## Choose the right kind of resource++- An **agent** is a reusable specialist role with a workflow and delivery standards. Choose one when its expertise or interaction style fits the work, whether for one task or a recurring responsibility.+- A **skill** is a repeatable method for producing a result or following a workflow. Choose one when its method fits the task; it can support different callers. Running it on an Orkas schedule uses Automation; connected-service access uses the caller's available connections and permissions.+- A **connector** gives Orkas authorized access to a supported external service's information and actions. Choose one when the work needs that service; the task supplies the work to do, and access remains subject to the connection and operation permissions.++Use an agent for specialist judgment, a skill for a repeatable way of working, and a connector when the task needs external information or actions. A task may use more than one, but only select what contributes to the outcome.++A model/provider is configured separately in **Account settings > Models**. A custom Agent can define a role and workflow, but it does not become ChatGPT, Claude, DeepSeek, or another model merely by using that name or imitating a style. A connector is also not a model-provider substitute.++## Create an agent or skill++Commander can carry out a clearly requested Agent or Skill creation or edit through the dedicated resource workflow. After success, open the returned resource to review the saved configuration. If the request is still exploratory or requires choices the user has not made, use the visible creation screen instead of inventing them.++- For a custom Orkas Agent, open **AI Team**, choose **Create agent**, keep+ **Create** selected, enter a name and one-line summary, then confirm. Open the+ Agent detail to review and refine its workflow, inputs, standards, and memory.+ Orkas does not provide a general Agent JSON import screen; do not ask the user+ to paste or import an Agent configuration file instead of using this visible+ creation flow.+- For a Skill, open **Skills**, choose **Create skill**, then select **Manual**,+ **From URL**, or **From folder**. Confirm the source and finish the Skill in+ its edit conversation before relying on it. The folder picker shows its+ current file-count and size limits.+- For a local Skill ZIP, attach the ZIP in **Commander** and explicitly ask Orkas to import the Skill. Do not describe the ZIP as normal model-readable task context. For multiple Skills, review the list and choose what you need; ask for all explicitly if wanted. Selected Skills import in batches, with failures reported separately. Installation does not verify every Skill can run or migrate other plugin components.++## Save an agent's default skills++For an Orkas-run Agent, ask Commander or that Agent's edit conversation to add named, available Skills to its saved defaults. After the edit succeeds, the Agent keeps this default skill list across tasks and restarts. Disabled, missing, system-only, or another Agent's private Skills cannot be added as shared defaults.+Defaults appear in the Agent's skill directory; their contents are read when needed, not automatically executed or always loaded in full. Other eligible shared Skills remain discoverable through search. Selecting a Skill for one task does not rewrite saved defaults. External CLI Agents such as Claude Code or OpenCode use their own skill mechanisms instead of this saved-default configuration.++## Use an agent or skill++1. Open **AI Team** or **Skills** to see what is currently available.+2. Review the description and any stated inputs or limitations.+3. Enable or install the item if the current catalog offers that action and the account permits it.+4. In Commander or a Project task, select the relevant resource from the task composer.+5. Describe the outcome normally; include inputs the specialist or workflow needs.++Catalog contents and availability can vary by edition, account, or region. The current in-app entry is the authority for whether something can be installed or used.++The user pauses or removes a Skill. To keep it but stop using it, open its card's **⋯** menu in **Skills** and choose **Disable**; **Enable** turns it back on. Choose **Delete** in that menu and confirm to remove one they created or imported; for a Skill installed from **Marketplace**, open it in **Marketplace** and choose **Uninstall** (the button reads **Update** when an update is available), since its card menu only disables it. Agents work the same way in **AI Team**: only custom Agents can be deleted, and Marketplace Agents are uninstalled from **Agent marketplace**.++For audio-only tasks, choose **VoiceStudio** in **AI Team** and provide a script or recording. It produces narration, transcription, cuts, or mixes with supplied music. Speech generation sends the script to the configured service in **Account settings > Models** and needs network access; local transcription and editing use bundled components without first-use downloads. Keep the saved project and audio together to revise individual paragraphs or mix settings. Repair/update Orkas if a component is missing. Cloning, generated music and automatic speaker identification are outside this core workflow; use video production for picture changes.+## Add a local external agent++1. Install Codex, Claude Code, OpenCode, or another supported CLI you want to use, complete its sign-in, and make sure it is available to desktop applications.+2. Open **AI Team** and choose **Connect an agent**, or use the **@** agent picker in the task composer.+3. On the first visit, wait for the selector's detection message. On later visits, Orkas immediately shows the first agent from its in-memory result while the title marks the list as updating.+4. Review the first agent selected by default, switch it if needed, review the prefilled name and summary, then confirm.+5. Open the new Agent's details and use **Runtime settings** to choose any supported model, thinking, and **Permission level** overrides. For CLIs with selectable permissions, the default is **Use CLI default**. **Ask for permission** forwards native approval requests to the shared Orkas confirmation dialog with the CLI action or selected path and the same CLI permission-level choices, then returns the decision to that CLI; changing the level there saves it for that Agent after approval. OpenCode instead runs with fixed **Full access** and shows no permission selector.+6. For Claude Code, Codex, or OpenCode, keep the workspace default or choose a custom project directory in the Agent's details. Without a custom choice, a task inside a Project uses that Project's workspace.+7. During a coding task, ask the external agent to switch project directories when needed. It can show a folder form; after you choose an existing folder, the task continues in that directory with a fresh CLI session.++Detection and Agent-detail project-directory choices are device-local. Detection refreshes every time the External panel is entered. If a CLI is below the minimum supported version, upgrade it from the connection panel, Agent details, or the named CLI button at the bottom of the task error bubble. Progress appears on the button; the result appears beside it. Retry the task after a successful upgrade. Supported versions adapt automatically; if an explicitly selected model is unavailable, change it in Runtime settings. Upgrading does not retry a task automatically. If the expected CLI does not appear, confirm it is installed and available to desktop applications, then leave and re-enter the External panel. If a custom project directory was moved or removed, choose an existing folder from the task form or reset the agent to the workspace default in its details.++During a task, Claude Code, Codex, OpenCode, Hermes, and OpenClaw can use the built-in Browser for that conversation only. You can switch to other Orkas pages while the agent continues working in its task browser. Other conversations and external browser windows are outside its access. In Task Details > Browser, you can interact with the page directly. AI page actions pause while you interact and become available again after 10 seconds without input, once held keys, dragging, or input-method composition have ended. The agent can read ordinary form values, fill and submit fields including passwords, verification codes and card details, and upload files from the task workspace or attachments. Sensitive field values are never returned to the model. Uploads and downloads have no browser file-count or size quota; website limits still apply. AI uploads use file paths and ordinary downloads save to task attachments without a file dialog. Attach external files to the conversation. Website native file-system pickers are cancelled during AI control; use the website manually if it offers no ordinary upload or download. Task downloads need no separate site approval. After finishing your interaction, choose **Let AI continue** for immediate handback. Website requests for camera, microphone, clipboard, location or screen sharing show a site permission or source selection dialog. AI can allow or deny keeping the screen awake for the current request. Other website permissions still require your choice. Use **Reset site permissions** in the browser toolbar to clear that site’s choices and retry the website request; the form is kept. Complete CAPTCHA or other site-required checks when prompted; automatic control recovery does not restart a stopped task.++## Connect an external service++1. Open **Connectors**.+2. Find the supported service under the available catalog.+3. Choose **Connect** and complete the service's authorization flow.+4. Return to Orkas and confirm the service is listed under **Connected**.+5. Select the connector in a task and clearly state what Orkas may read or do.++You can also ask Commander to connect or reconnect a named service in the current+task. Not connected does not mean unsupported: setup discovery checks the full+available catalog, not only the connections enabled for task use. Simple OAuth+only needs the connection entry and your login/consent. Extra configuration uses+the connector's concise guide and browser assistance; Commander handles authorized browser steps, including filling and submitting sensitive fields without returning their values, and pauses for login or verification it cannot complete or a required platform confirmation. Ordinary work with an existing connection does not need setup discovery.++If a connector opens a setup panel for extra configuration, choose **Ask+Commander** there to start a separate assistance task with that connector+already identified. The request is sent automatically; values entered in the+protected fields are not included. Complete any requested login or secret entry+directly in the provider page or protected setup form.++Authorization occurs with the external service. Do not paste passwords, access tokens, or secret keys into a normal task unless Orkas is explicitly showing a protected setup field intended for that value.++For a server that is not in the catalog, use **Connectors > Add MCP server**.+Choose a remote server or local command and enter only configuration supplied+by a source you trust. A local command runs on the device whenever that server+connects, so review it before choosing **Add and connect**.++Commander may prepare this installation only from exact configuration the user already supplied; Orkas still shows the required confirmation before adding it. If a credential or authorization value is missing, open the protected Connectors form and enter it there rather than sending it in the task.++## Manage access deliberately++- To stop using a connection but keep it, choose **Disable** in its card's **⋯** menu (**Enable** restores it). **Disconnect** removes the connection; for a server added with **Add MCP server** it also deletes that saved server.+- Reconnect when authorization expires or the external account changes: choose **Connect** on the card again; **Reconnect OAuth** for a custom OAuth server; **Reauthorize** in the **⋯** menu for local-CLI connectors. **Retry** only rechecks an unreachable service and does not re-authorize.+- Check the selected account if the service has more than one workspace or identity.+- Ask for confirmation before consequential external actions when the task or current permission mode requires it.++Disconnecting stops future use of the connection; it does not necessarily delete content held by the external service.diff --git a/resources/builtin/system/skills/orkas-guide/references/common-recovery.md b/resources/builtin/system/skills/orkas-guide/references/common-recovery.mdnew file mode 100644index 00000000..6f55932b--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/common-recovery.md@@ -0,0 +1,68 @@+# Common recovery++## First identify the state++Choose the recovery path that matches what the user can see:++- **Waiting for input:** answer the question, confirmation, or form in the task.+- **Stopped:** review what completed, then send a focused continuation or start again.+- **Failed:** open the error summary, correct the likely cause, and retry.+- **Still working:** check current progress before creating a duplicate task.+- **Resource unavailable:** restore that resource or choose an available alternative.++The user can also ask **Commander** to check an Orkas app problem. When the+current build supports it, Commander can inspect sanitized model, connector,+Library, and running-task status and offer a click-to-open shortcut to the+relevant screen. This support path cannot read credentials or replace a+protected sign-in, secret-entry, payment, permission, or deletion flow.++After a restart, an interruption notice means the app stopped before that task+finished. A task whose final reply was already completed should reopen with that+result and no interruption notice.++## Sign-in page does not open (commercial edition only)++On the sign-in screen, select **Copy** and paste the link into a browser to+finish signing in. Keep Orkas open to receive the result. This uses the same+login attempt as the automatic browser opening.++## Model or account problem++Open the sidebar account menu, choose **Account settings > Models**, and confirm the selected model is ready for the active account. Complete sign-in or credential setup through the protected settings flow, check required credits or access, then retry with an available model.++## Agent, skill, or connector problem++- Confirm the resource is installed or enabled.+- For a connector, confirm its connected state and reconnect if authorization expired.+- For connected Feishu/Lark, DingTalk, WeCom or Xero, **card three-dot menu > Reauthorize** is always available to complete authorization with the service when needed. The connection and selected capabilities are retained; other authorized features remain usable. Return to the task afterward; failed actions are not replayed automatically. If access is still denied, check the service's account or administrator permissions.+- Check that the intended external account or workspace is selected.+- Enable only the connector capabilities the task needs.+- Return to the task, select the restored resource, and retry.++Do not solve a connection problem by posting credentials or tokens into the conversation.++## Task failure after an external action++Before retrying, inspect the external service or result history to see whether the action already succeeded. If the outcome is uncertain, ask Orkas to verify state first. This avoids duplicate messages, records, purchases, or destructive actions.++## Missing Project, task, Library item, or app++1. Confirm the active account and check the Project or resource's normal sidebar area.+2. Use sidebar **Search** (Cmd/Ctrl+K) with a known title or phrase.+3. Check filters, the original Project, and the relevant device.+4. Let sync finish if the item changed on another device.+5. Check **Recycle Bin** in **Account settings > Data** if it may have been deleted.++Restore a recoverable item before permanently deleting its recycle-bin batch.++## Sync does not settle (commercial edition only)++Keep Orkas open and online, then check the status under **Account settings > Data > Cloud sync** (use **Sync now** to retry) and the active account on each device. Avoid editing the same item in two places until sync finishes. Review **Conflict log** for competing versions. If the problem continues, let pending work finish before signing out, disabling sync, or deleting cloud data.++## Notifications, microphone, or update issue++For task notifications, check **Account settings > General** and the operating system's notification permission. For commercial voice input, confirm sign-in and credits; the open-source build uses its configured Orkas API Key. For either build, check that a microphone is available and allowed in system settings. For an official app update (commercial edition only), save current work, then use **Account settings > General > App & updates** to download it and **Restart to update**.++## When normal recovery is not enough++Preserve the task title, approximate time, visible error, and whether an external action may already have occurred. In the commercial edition, send that information with **Send feedback** in the sidebar account menu. Do not include passwords, secret keys, access tokens, or unrelated private content.diff --git a/resources/builtin/system/skills/orkas-guide/references/editions.md b/resources/builtin/system/skills/orkas-guide/references/editions.mdnew file mode 100644index 00000000..6f340d2b--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/editions.md@@ -0,0 +1,14 @@+# Edition availability++The commercial desktop edition and the open-source build share this guide. **Commercial edition only** does not mean that every listed feature requires paid membership; the commercial app's current account allowance remains authoritative.++| Availability | Features |+|---|---|+| **Both editions** | Local tasks, Projects, To-do, Automation, Agents, Skills, Library, memory, local apps, local Recycle Bin, and user-owned model/service credentials, including provider OAuth where supported. |+| **Commercial edition only** | Orkas desktop account sign-in, membership, account credits and account-funded built-in chat, search, image, video and speech services. |+| **Commercial edition only** | Personal cloud sync, cloud storage allowances and sync conflicts; human Project collaboration, invitations, shared content and shared-to-do notifications. |+| **Commercial edition only** | Public share links for messages/files, hosted app publication and its online data, and publishing Agents/Skills through the developer marketplace. |+| **Commercial edition only** | The new-account welcome conversation, account feedback flow, official desktop automatic updates, and iOS remote control. |+| **Open-source API-key access** | The separately configured **Orkas API Key** can fund supported public chat, search, image, video, speech, voice-input and credit-based connector services. It is not Orkas desktop sign-in or membership. Provider/API services can require their own accounts, authorization and fees. |++In the open-source build, open sidebar **Settings > Models**, **Settings > Data**, or **Settings > General** for the corresponding local controls. It has no Account/Plan/credits page or personal cloud-sync settings. Local app data and the local Recycle Bin remain usable. Older builds can lack newer controls or retain earlier app restrictions; the visible screen and operation result are authoritative, not a promise that installing this guide upgrades the application.diff --git a/resources/builtin/system/skills/orkas-guide/references/file-inputs.md b/resources/builtin/system/skills/orkas-guide/references/file-inputs.mdnew file mode 100644index 00000000..5074f03a--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/file-inputs.md@@ -0,0 +1,76 @@+# Local file inputs++## Choose where the file belongs++- Use a task attachment when the file is needed only in the current+ conversation.+- Use **Library** when a supported source should be reusable across later+ tasks.+- Use a Project Library when the supported source belongs to one ongoing+ Project.++Task files do not sync with their task to another device. When a supported+file should be reusable or available through cloud sync (commercial edition only), add it to the global+or Project Library and let Library processing and sync finish.++Saving a reply opens a location picker whose title names the Project or global+Library. Its destination line repeats that Library before the selected folder;+check both parts before confirming the save.++When **Add to Library** is used on a file produced inside a Project task,+Orkas saves it to that Project's Library. The same action in a task outside a+Project saves it to the global Library. The success message identifies the+destination. A processing indicator can remain while the file is indexed; if+the app closes during that work, reopening the Project Library resumes the+interrupted indexing instead of leaving it permanently in progress.++The current file picker and its visible error are authoritative when a format+is not listed below or the account/build differs.++## Supported input boundary++Task attachments accept text and code files, PDF, modern Word/Excel/PowerPoint,+legacy Excel (.xls), common raster images, video, and audio. They also accept a ZIP only as an+opaque, path-only input for the dedicated Skill-package importer: the archive+body is not added to model context. To import a Skill ZIP, attach it in+**Commander** and explicitly ask Orkas to import that Skill. Library accepts+text and code files, PDF, modern Word/Excel/PowerPoint, legacy Excel (.xls),+and common raster images. Project Library also accepts common video files.++Legacy Excel input supports reading cell data and a content preview. It does+not run macros or recalculate formulas; save updated formula results in Excel+before importing when current calculations matter.++When a reply is already running, a completed task attachment can remain on the+new message while that message waits in the task's send queue. An attachment+that is still uploading must finish before the message can be sent or queued.++ZIP is not ordinary document context, and Library or Project Library does not+accept it. Other archive formats are not accepted through these entry points.+For ordinary source material, ask the user to extract the archive on their+device and add the relevant supported files. Use the dedicated setup flow for+an Agent, connector, or other package instead of treating its archive as task+context.++## Choose the working folder++Use the **Workspace** chip in a task composer to choose the folder where Orkas+and the selected Agent may work. **Default** uses Orkas's managed workspace;+**Pick folder...** selects a user folder, and **Open folder...** reveals the+current one. A Project keeps its own Workspace choice across Project tasks.+Choose only a folder that the task should be able to read or change; the active+tool-permission mode still applies. Attaching a file does not change the+Workspace.++## Add a supported file++1. Open the target task, **Library**, or Project Library.+2. Choose its visible add/attach action.+3. Select only the source files needed for the task.+4. Wait for the item to finish importing or indexing before relying on it.+5. In a task composer, click a completed attachment chip to preview it before+ sending, or use its remove control if it is the wrong file.+6. In the task, state what Orkas should do with the file.++If a file is rejected, keep the source unchanged, convert or extract it outside+Orkas into a supported format, and retry with the converted file.diff --git a/resources/builtin/system/skills/orkas-guide/references/getting-started.md b/resources/builtin/system/skills/orkas-guide/references/getting-started.mdnew file mode 100644index 00000000..0371f81f--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/getting-started.md@@ -0,0 +1,59 @@+# Getting started++## What each feature is for++Start in **Commander** to describe the outcome, provide context, follow the work, and receive results. Use the features below where the work needs them.++| Feature | Purpose and suitable use | Relationship and boundary |+|---|---|---|+| **Task / conversation** | Carry out a concrete request and retain its discussion, execution and results; enough for a one-off request. | Follow up in the same task when its context still applies. |+| **Project** | Group related tasks when they need shared goals, rules, sources or specialist resources over time. | Reuse an existing suitable Project; creating one does not itself start work. |+| **Goals & rules** | State the intended outcome and requirements that should apply across Project conversations. | A numeric target does not automatically track business progress; temporary directions belong in the current task. |+| **To-do** | Track specific work that needs a status, responsible Agent or member, deadline or materials. | Can link to an execution conversation and run manually or through enabled auto-advance; a deadline is not a scheduled start. |+| **Auto** | Start a saved instruction at a future time or on a repeating schedule. | Each run opens a task; the assigned device and required access must be available. |+| **Agent** | Use a specialist from **AI Team** when work benefits from its role, workflow or delivery standards. | Its reusable role can serve different tasks; Orkas-run roles and the task model are separate choices. |+| **Skill** | Use an established method or deliverable pattern when it fits the task. | Commander or an Agent follows it using that caller's available capabilities. |+| **Connector** | Read information or perform actions in a supported external service. | Requires a working authorized connection and the applicable operation permissions. |+| **Library** | Keep source documents, business records and deliverables for later retrieval and reuse. | Use global or Project material as appropriate; a one-task input can remain an attachment. |+| **Memory** | Retain concise facts and preferences that remain useful across conversations in their scope. | Keep explicit Project requirements in Goals & rules and source documents in Library. |+| **App** | Keep an eligible interactive result, such as a calculator or tracker, for repeated use. | Saved code and app-private data have their own lifecycle; a static report can remain a file. |+| **Model** | Supply the reasoning or generation service that runs the task. | Selected separately from the Agent role and Skill method; external CLI Agents use their CLI's runtime. |+| **Workspace** | Identify the working folder for task files and permitted file operations. | Separate from Library and attachments; attaching a file does not switch the working folder. |++When organizing work toward an ongoing goal, prioritize evidence-backed actions that advance the goal or reduce a key uncertainty, and make their expected results and evaluation criteria clear. Use delivered results and actual changes toward the goal to decide whether subsequent work should continue, change direction, or stop. When evidence is insufficient, first arrange work that fills the critical gap.++**Commercial edition only:** the account entry at the bottom of the sidebar shows the active account. Its menu exposes **Plan**, **Credits left**, **Account settings**, and **Send feedback**. Use **Account settings** for models, permissions, memory, data, notifications, and other account options.++The user does not need to configure every area before starting. A normal first task begins in Commander.++Commander is also the in-app support entry point. Ask it any Orkas usage question; when an exact destination is supported, it can include a shortcut that opens only after the user clicks. For supported create, edit, install, or configuration requests, Commander can use the owning workflow and return its success evidence. If a protected credential, authorization, payment, permission, or destructive confirmation is required, the user still completes that step in the dedicated Orkas screen.++## Complete a first task++1. Open **Commander** and start a new task.+2. Describe the desired result and any important constraints.+3. Add a file or select an available Orkas resource if the task needs context.+4. Send the request and follow the task status.+5. Respond if Orkas asks for a decision, missing detail, permission, or form input.+6. Review the final message and open or download any result files.++The task composer separates three choices:++- **Model:** use one of the **Orkas built-in models** (commercial edition only) or a model the user configured under **Bring your own API Key**. Open the control to **view models**, **switch models**, or choose **Configure models** to **add a model** and manage providers in **Account settings > Models**.+- **Recipient:** choose one or more Agents with @ mentions or the recipient panel. Panel selections and explicit mentions stay synchronized. Selected Agents have a checkmark and appear at the top of the panel; remove one there or select its row again to remove the corresponding mention. A selected Skill or Connector is task context/capability, not another recipient.+- **Workspace:** choose the folder the task may read from and save or change files in. Attaching a file does not change the Workspace.++Write each instruction as **@Agent + description**. An opening @ overrides the current recipient; text before the first @ belongs to the current recipient. Later mentions start new instructions, and adjacent mentions share the following description. The panel inserts mentions at the cursor and shows every recipient, including the owner of an unaddressed first instruction. Quoted mentions remain context.++After a message is accepted, one recipient stays selected; multiple recipients reset the next message to Commander. A failed send keeps the draft. A manual single-Agent choice stays selected through normal completion. A Commander handoff selects its Agent. Temporary delegation keeps the current recipient until an Agent requests your input; a pending input form selects its owner. You can ask that Agent to explain the form without submitting it. Automatic selection ends when the task completes, is cancelled, or hands back; an explicit transfer to Commander selects Commander, while a newer user choice takes precedence. Automation setup keeps its single-recipient selection.++The current controls and settings rows are authoritative for the available choices.+When explaining these controls, keep **view models**, **switch models**, and **add a model** as three explicit model actions; “manage models” alone does not explain the control completely.++**Commercial edition only:** in the first-user welcome card, **Local Agents** appears when supported CLIs are installed on this device. Version checks run beside each name without blocking the welcome. Select the compatible tools you want, then choose **Connect** to add them to **AI Team** with their default configuration. You can deselect tools; connected checkboxes stay locked. **View** beside the success message opens AI Team and highlights the saved cards. A failed check has its own **Retry**; a failed connection can be retried with **Connect**. OpenCode starts unselected and requires accepting its full access setting. Connecting creates the Agent definition; it does not start a task or sign in to the CLI.++The external CLI action is separate from Orkas model selection. Open **AI Team** and choose **Connect an agent**, or use the **@** agent picker in the task composer. Install and sign in to the corresponding supported CLI on this device before connecting it. In the external CLI Agent's details, **Runtime settings** shows the model, thinking, and permission controls that CLI supports. Model or thinking **Default** choices clear that Agent's override; **Use CLI default** leaves permissions at the CLI's own default. OpenCode instead runs with fixed **Full access** and does not show a permission selector. For CLIs that support **Ask for permission**, native approval requests appear in the shared Orkas confirmation dialog and return the decision to that CLI. These choices do not change global CLI settings or other Agents. The shared Orkas model control stays visible but disabled when all recipients are external CLI Agents. It is available when Commander or an Orkas-run Agent will also handle the message.++When related tasks need shared instructions and reusable material, use a **Project** to keep that context together.++For Project goals, to-dos and scheduled work, see [projects-and-automation.md](projects-and-automation.md). For specialist roles, methods and service access, see [agents-skills-and-connectors.md](agents-skills-and-connectors.md).diff --git a/resources/builtin/system/skills/orkas-guide/references/library-search-and-apps.md b/resources/builtin/system/skills/orkas-guide/references/library-search-and-apps.mdnew file mode 100644index 00000000..b7bdc91e--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/library-search-and-apps.md@@ -0,0 +1,98 @@+# Library, search, and saved apps++## Reuse knowledge with Library++Use **Library** for source documents, business records, reference material, and deliverables that should remain available for later retrieval or reuse. The global Library holds reusable material outside a Project; a Project Library keeps that Project's sources and results together. Use a task attachment for material needed only in that conversation. Memory holds concise durable facts and preferences; Library retains the source material those facts may depend on.++1. Open **Library**.+2. Add or locate the source the user wants to reuse.+3. Give it a recognizable name.+4. In Commander or a Project, select that source from the task's available resources.+5. Tell Orkas how the source should influence the result.++Adding a source does not mean every task automatically uses it. Select it where it is relevant.++## Find work across Orkas++Use **Search** in the sidebar (Cmd/Ctrl+K) to find known tasks, Library items, agents, skills, or connectors. Enter a distinctive title, phrase from a processed Library source, file name, or Project name and press **Enter** to search, then narrow by **Tasks**, **Agents**, **Skills**, **Library**, **Automation**, **To-do**, or **Connectors** when needed. From outside a Project, Library search covers processed sources across Projects; inside a Project, it searches the current Project plus the global Library. Task and Library results can show the Project they belong to. Automation and To-do search covers personal and Project items by title or content, including disabled automations and completed to-dos. Open a result to reveal its entry. Connector search covers catalog names and descriptions plus your custom connector names; opening a result reveals its card.++If an item does not appear:++- confirm the active account in the commercial edition;+- check whether it belongs to another Project or device-only location;+- clear an overly narrow filter;+- allow a newly added Library source to finish processing;+- check **Recycle Bin** in **Account settings > Data** if it may have been deleted;+- in the commercial edition, allow sync to finish if the item was recently changed elsewhere.++## Create an app++Open **Apps > Create**, describe the app you want, or choose a starter and edit its description. Select **Create** to start generation immediately in a new task. Review the result in that task and use **Save as app** when it is ready. If creation cannot start, retry with the preserved description; configure a model first if prompted.++## Open and save interactive results++An App is a reusable interactive tool, such as a calculator, dashboard, or tracker, with its own saved code and private data. Interactive results offer **Save as app** before the first save, then **Update original app** and **Save new app**. Save them to **Apps** for later use; a static report can instead remain a file or Library deliverable.++- Open **Apps** to launch saved apps.+- Use **Apps > Edit** to revise an app in a new task. On the new result, choose **Update original app** to keep its identity, or **Save new app** for an independent copy.+- Updating overwrites the saved code and retains compatible data. A deleted original is saved as a new app. After **Save new app**, further saves from that result update the copy.+- Export important data when the app offers an export option.++Not every artifact or file is eligible to become an app. The available actions on the result show what can be opened, saved, downloaded, or shared.++Treat a saved app as an interface to its own data and capabilities. Review any requested external action before confirming it.++## Publish an app (commercial edition only)++Open the app's menu in **Apps** and choose **Publish**. The Apps page and publishing dialog show your publication allowance. Desktop-only dependencies block publication. **Modify app for web publishing** opens a new editing task with the source and a prepared request to remove or replace those dependencies; review and send the request yourself. Membership and available account cloud storage are required. Visitors use the public link without signing in. Local edits require an explicit publication update. The published app menu offers **Update publication** and **Unpublish**; updating requires the source on this device. **Publication details** opens an app page with its link, PV, publication status and online data. Query records by time, edit or delete a record, and export data. **Clear all data** (or **Clear this table**) removes online records while keeping the app and table definitions.++Published files and online data share your account cloud storage with sync and project collaboration. Publication details show file, database and total usage. Deleting records frees space only after storage is reclaimed. There is no separate per-app size allowance. A full account blocks growth; reading and deleting remain available.++Local and online data are independent. The first publication starts with an empty online database; updating preserves compatible online records. Previews use temporary data. Personal cloud sync restores local records across devices and never transfers online records. Resolve competing device versions in **Account settings > Data**, then close and reopen the app.++Platform suspension closes public access; data is retained and details show the reason. Author export and cleanup remain available. **Unpublish** and expiration cleanup delete online records, files and PV; **Delete** is hidden until unpublishing completes, including for suspended apps. Local code and data remain after unpublishing. Follow the displayed seven-day deadline after expiration or an over-quota downgrade. Suspended apps still count toward the publication limit.++## Use Orkas capabilities inside an app++Local apps built for the Orkas host can use the configured model, app-private storage,+selected local files, text exports, the global Library and enabled connectors.+Availability depends on what the app requests and what is configured in Orkas;+older apps do not gain these abilities automatically. Ask for a revision in the+source task if an app lacks the needed feature. A standalone HTML export does+not carry Orkas capabilities into an ordinary browser.++- Use the app's file control to select a file. It reads a snapshot and cannot+ edit the original. Export text to a new filename; existing files are protected.+- Model generation can incur charges and does not ask for separate app consent.+ It receives the app's submitted text, without+ automatically using the task's conversation, Agent or Project context.+- Library access needs no separate app consent. Connected-service actions use+ the existing tool permissions and can cause external changes or fees. Sensitive+ actions ask in the Orkas dialog; **Allow for this use** covers the approved+ connector account and kind of sensitive action while this app stays open.+ Closing and reopening requires a new approval; other apps do not share it.+ **Trusted** runs available actions without confirmation. Prohibited actions+ remain unavailable.+- Each app has private data and file storage, separate from its source code.+ Apps can put business data in cloud storage and caches in device-local+ storage. Cloud storage syncs (commercial edition only) when the same account enables sync on each+ device; a successful save does not mean upload has finished. Older apps keep+ their existing local storage unless revised; data is not moved automatically.+ Reopening the same app restores its data; a newly saved copy has independent+ data. Export important data before switching copies. Resolve competing edits+ through the existing conflicts view in Account settings > Data.+- App language can follow the Orkas language setting. Reopen after changing it;+ an app with a fixed language needs a revision in its source task.+- Apps can load external scripts, styles, images, fonts and media, and call+ external services directly. Those services receive the data the app sends;+ direct calls do not use the connector permission dialog. External scripts have+ the app's capabilities. Service authentication and browser cross-origin rules+ still apply.++If permission is denied or a picker is cancelled, the user can continue using+the app and retry the action when ready. If the model is unavailable, configure+one in Orkas and reopen the app. After an account switch or app source change,+close and reopen it for a fresh session. Cancelling cannot undo an external+action or guarantee that a model request incurred no charge; check the result+before repeating it. For an export failure, choose a new filename on a supported+local filesystem.diff --git a/resources/builtin/system/skills/orkas-guide/references/projects-and-automation.md b/resources/builtin/system/skills/orkas-guide/references/projects-and-automation.mdnew file mode 100644index 00000000..8f87004f--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/projects-and-automation.md@@ -0,0 +1,97 @@+# Projects and automation++## Use a Project for ongoing work++A Project suits related tasks that need shared goals, rules or resources over time. Reuse a suitable existing Project; a one-off request can stay in a normal conversation. A Project does not start work merely because it exists. Depending on the current Project view, it can bring together:++- **Goals & rules** express the intended outcome, standing constraints, and preferred output shared by Project conversations;+- **Memory** retains durable Project facts that remain useful across those conversations;+- reusable agents for specialist work and **Library** material for evidence, source documents, and saved deliverables;+- **Tasks** and conversations hold execution, follow-up discussion, and results;+- **To-do** records specific planned work, status, responsibility, due dates, dependencies, attachments, and links to execution; opt-in auto-advance is separate from scheduled Automation;+- **Automation** starts saved work at specified times with the Project context.++**Goals & rules** support up to 4000 characters. They are standing instructions, not a metric dashboard: writing a numeric target does not calculate business-metric progress. Completing to-dos measures work progress; evaluating a sales or other business target needs the relevant evidence. Keep goals and rules stable and outcome-focused; temporary directions belong in the individual task. Within a Project conversation, Commander can update these instructions on request.++## Create useful Project context++1. Create a Project with **+** next to **Projects** in the sidebar (it needs only a name), or select one.+2. In **Goals & rules**, state the ongoing goal.+3. Add only the rules that should apply across its tasks.+4. Select the reusable agents or sources the Project regularly needs.+5. Start Project tasks from that context and review memory as the work evolves.++Projects are scoped to the active Orkas account in the commercial edition; the open-source build keeps local Projects without Orkas desktop sign-in. If an expected Project is missing, check the sidebar and, in the commercial edition, confirm the active account and let cloud sync finish when enabled. A deleted Project can be restored from **Recycle Bin** in **Account settings > Data**; do not recreate it first.++Deleting a Project (its **⋯** menu > **Delete**) also deletes its tasks and its Project automations, all restorable from **Recycle Bin**; stop running tasks first. A shared Project shows **End sharing** to its owner and **Leave shared project** to members instead of **Delete**.++## Share a Project with members (commercial edition only)++In the signed-in desktop app, the owner opens **Members > Invite members**, reviews what will be shared, and selects **Start sharing and create link**. Available member seats and cloud storage depend on the owner's account; check the current in-app allowance. The member count includes the owner. Copy the invitation link after it is ready; its expiry is shown before copying. Recipients open the link, check their signed-in account, open Orkas, and confirm **Join project**. If the invitation is unavailable, ask the owner to reopen **Invite members** and send the current link.++Members share Project instructions, memory, files, to-dos and to-do attachments. **Tasks** and **Automation** remain private. Adding a custom Agent does not by itself publish it: use **Share**, review its files, and wait for publication to finish. External CLI Agents remain private. Within a shared Project, a lock marks private content; ordinary Projects do not show these locks.++Invitation links do not wait for uploads. Uploads can resume after interruption or restart; use Pause sync or Retry in Project members. While content syncs, members can work with local Agents. Closing the invitation dialog does not stop background uploads. Keep Orkas running with task notifications and system notification permission enabled to receive background reminders for new shared to-dos assigned to you by other members. Click a reminder to locate and highlight its row on **To-do**. The first sync does not alert for existing items; ordinary edits and reassignments do not trigger new-to-do reminders.++Ordinary content edits save on this device first and publish in the background. Saved does not mean other members have received the update. Sharing, joining and membership changes still need online confirmation. Personal cloud sync and Project collaboration are separate; turning off personal sync does not stop collaboration. Open the Project or use **Refresh** at the upper right to retrieve shared updates and retry pending changes. If **Project conflicts** appears, review the two copies before choosing one.++Members can edit, change the status of, or delete to-dos assigned to themselves or another member. On **To-do**, **All / Mine** at the toolbar's right filters shared responsibilities while keeping personal work visible. **By project** shows it for the selected shared Project; **By status**, when any Project is shared. **All** restores filtered-out work; auto-advance stays unchanged. **Auto** (auto-advance) in a shared Project only processes to-dos assigned to the current user; in an ordinary Project it processes all eligible to-dos. To preview an attachment, click the card's attachment icon or an attachment chip in the editor. Attachment removals in the editor take effect on **Save**; **Cancel** discards them.++Use the Project menu to **Leave shared project**, or **End sharing** as its owner. After leaving or being removed, the downloaded Project becomes a personal copy, with other members' Agents and to-dos not assigned to you removed. Shared updates stop and Project automations are paused. Joining again creates a separate shared Project instead of merging into that personal copy. Ending sharing stops it for everyone and removes the shared cloud data; downloaded copies remain on members' devices.++## Add an existing task to a Project++For a task that does not yet belong to a Project:++1. Open its three-dot menu and choose **Add to project**.+2. Review the task's participating agents. They are selected by default; uncheck any you do not want to add. A Commander-only task has no agent section. Unchecking an agent does not remove a member already in the Project.+3. Choose an existing Project and select **Move**, or choose **New project** and confirm its name to create it and move the task.++The action is disabled while the task is running; wait for completion, or stop it and wait for remaining work to finish. History and attachments stay with the moved task.++A task that already belongs to a Project shows **Remove from project** in the same menu instead. It returns the task to the list outside any Project, and it is disabled during a running task for the same reason. The Project stays as it is, including its to-dos and members.++If some selected agents cannot be added, the task stays in the Project and successful additions are kept. The message reports how many agents could not be added; open the Project to check its members.++## When Commander sets this up for you++Commander creates a Project or Automation when the user asks for one or accepts its offer. A clear creation request does not require a second confirmation of that same action:++- an explicit request for recurring delivery already requests its schedule; merely describing repeatable work can lead to an offer;+- an agreed new Project can include initial to-dos, a stated goal saved in **Goals & rules**, and this conversation filed under it.++It reports what was actually saved, including any goal or initial to-dos that failed to save. Commander can also rename this conversation's Project on request; shared Projects require the owner. In a conversation outside a Project, ask Commander to move it into an existing private Project by its exact name. This moves the conversation without creating a Project or changing its goals, to-dos or members. Use **Add to project** above for a shared destination or to choose participating agents; use the Project view to add reusable agents or sources. Project filing finishes as the reply ends, so the task appears under the Project a moment later. To undo filing, say so in the same conversation or use **Remove from project**; the Project itself stays until you delete it in **Projects**. If a move fails, the conversation stays in place; retry through its menu.++## Manage Project to-dos from chat++Open a conversation within the Project and ask Commander to add, read, update, or complete its to-dos. A conversation outside any Project can manage only global to-dos and cannot retrieve Project to-dos, even when you name the Project. A saved task result confirms the change; opening a Projects card alone does not.++A to-do an Agent saves from a conversation is linked to that conversation: every global one and, outside shared Projects, that conversation's first open Project to-do, including the first to-do of a Project created from it. Other to-dos are linked only when they start, and edits never link them. Starting a linked to-do from its card continues in that conversation while it stays in the same scope; if that conversation is still working, you are taken there instead. Successfully starting a to-do from its card, through **Auto**, or by explicitly assigning that to-do for execution in chat links the execution conversation. Use **Task** on the card to reopen the linked conversation. Starting another execution successfully updates the link; a failed start or a status-only update leaves it unchanged.++**Auto** on **To-do** enables backlog auto-advance and is off by default. It selects pending work whose dependencies are satisfied, with earlier deadlines first, subject to the daily limit. Keep Orkas running on the assigned device with the required resources available. A due date is a deadline, not a scheduled start; use the sidebar's **Auto** for time-based runs. Saving a to-do alone does not enable auto-advance.++## Schedule recurring work with Auto++Use **Auto** for an instruction that should run once later or on a repeating schedule.++The user can also ask Commander to create or change a clearly specified automation. Commander must use the same Auto business workflow, report success only after the saved task is returned, and provide a way to review the resulting automation. Use the Auto screen when the user needs to inspect or adjust fields before saving.++1. Open **Auto** in the sidebar and choose **+ Create**.+2. Write the instruction as if handing the job to Orkas at run time, including where the result should go.+3. Choose a one-time, every-x-hours, daily, weekly, or monthly schedule. For a repeating task, optionally stop it on a local date or after a set number of scheduled runs.+4. Create it on the device that should run it.+5. Keep **Enabled** checked and choose **Create**.+6. Review the first result in its **Runs** list before relying on it.++Each automation is assigned to one device and uses that device's local time. To move an existing automation, open it on the new device and switch its run target to **This device** when that option is shown. The assigned device must be available with Orkas running when the automation is due. Closing the window keeps Orkas running in the background. Use the menu-bar or system-tray icon > **Open** to return, or **Quit** to exit and stop execution. For automatic startup with the window hidden, enable **Account settings > General > Launch at startup**; it is off by default. The installed app also offers a one-time startup prompt on entering **Auto** with enabled automations: **Enable** requests startup; **Not now** leaves it off. Complete system approval if requested. Sleep or shutdown can interrupt execution, and the required account, model, connector, and Project access must still work at run time.++An end date includes the selected day in the assigned device's local time. A run-count cutoff advances only for scheduled runs; **Run now** does not consume the count or change the next scheduled time.++## Change or stop an automation++The automation's **More** menu offers **Run now**, **Disable**/**Enable**, **Edit**, and **Delete**.++- Edit the instruction or schedule when the desired outcome changes.+- **Disable** it when runs should stop temporarily; **Enable** resumes it. Disabling an automation does not delete the Project or previous task results.+- Review recent **Runs** before retrying a failed automation.+- Delete it only when its schedule and saved configuration are no longer needed.diff --git a/resources/builtin/system/skills/orkas-guide/references/settings-data-and-safety.md b/resources/builtin/system/skills/orkas-guide/references/settings-data-and-safety.mdnew file mode 100644index 00000000..8f121a3c--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/settings-data-and-safety.md@@ -0,0 +1,98 @@+# Settings, data, and safety+## Find the right Settings area+Open the account entry at the bottom of the sidebar, choose **Account settings**, then choose the area that matches the outcome:++- **Account**: sign-in status, credits, membership status, and the actions currently available for the account.+- **Data**: memory, cloud sync, conflicts, recoverable deletions, and other data controls.+- **Models**: official and user-configured chat models plus search, image, video, and text-to-speech services.+- **General**: language, task notifications, tool permissions, automatic Agent review, software updates, and other app behavior.++Some areas appear only when the current build, account, or device supports them.+## Credits (commercial edition only)+Credits can be used directly by eligible official Orkas services, including task conversations, image and video creation, and speech. They are deducted according to actual use. The amount can depend on the work performed, so use the account's current records rather than estimating it from the task alone.++1. Open the sidebar account menu and choose **Credits left** for usage details, **Buy** for the Web credit-pack area, or **Account settings > Account** for the full account view.+2. Check the current balance, warnings, **Credit details**, and active account.+3. If credits are low or unavailable, use only the purchase or membership action currently shown by Orkas, then retry the blocked work.++Balances, included amounts, reset timing, prices, and available actions can change by account and over time. Treat the current Account card and the message shown at the blocked feature as the source of truth.+## Membership (commercial edition only)+Membership can affect whether an account may use some hosted features. Give the user a path to their own current status instead of listing plans or promising a particular entitlement.++1. Open the sidebar account menu and choose **Plan** for the Account area or **Upgrade** for the Web subscription area. **Account settings** also shows unresolved renewal notices.+2. Review the displayed status or notice, then use the action shown there to manage, resume, renew, or start membership.+3. Return to the blocked feature and try again after the account status refreshes.++Do not compare membership tiers, prices, quotas, included credits, or benefit matrices. These can change; the current Account card and feature-specific prompt are authoritative.+## Models and account availability+Open **Account settings > Models** to review the models and services available in the current edition. The page is split by purpose into **Chat**, **Search**, **Image**, **Video**, and **Speech**; each lists its configured entries in priority order, and its **Add** button opens the protected setup dialog for that purpose. A model may require sign-in, credentials, credits, or account access before it can be selected. Enter model API keys only in the protected fields of those dialogs; never ask the user to paste an API key into an ordinary task. Orkas-run chat models require a context window of at least **32000 tokens**. Smaller saved models remain in Settings for removal or replacement but are unavailable for selection and rotation. A task may need a larger window for its input and output.++Each input that runs through an Orkas model includes a compact model control. In the commercial edition, it lists **Orkas built-in models** before **Bring your own API Key** models and follows the order managed in **Account settings > Models**. Open it to view or switch models; choose **Configure models** to add a model, review providers, and manage their order. The current control and settings rows are authoritative for the available model names and options.++Commander and Orkas-run Agents have no per-Agent model setting: they use the model selected in the task input. Using a Skill keeps that same task model. Orkas has no per-Agent or per-Skill binding for its underlying model or model API key; naming a model in a persona, Skill instruction, or prerequisite does not select it. To use another configured model, switch it in the task input. A Skill's tool or script may separately call an external API; that does not change the model running the Orkas task. An external CLI Agent instead uses its bound CLI. Its **Runtime settings** show the model, thinking, and permission controls that the installed CLI currently exposes and can save supported per-Agent overrides. A model or thinking choice marked **Default** clears that override; **Use CLI default** leaves permissions at the CLI's own default. OpenCode instead uses fixed **Full access** and hides the permission selector. Overrides do not change global CLI settings or other Agents. When all recipients are external CLI Agents, the shared Orkas model control stays visible but disabled. It is available when Commander or an Orkas-run Agent will also handle the message.++To use OpenAI or another model provider, add it in **Account settings > Models** or use an available **Official model** (commercial edition only). In **Chat > Add model**, each provider shows whether it accepts an API key, **Authorize account**, or both. To use an existing ChatGPT plan, choose **OpenAI Codex** and complete **Authorize account** in the browser; usage then follows that plan's limits set by OpenAI. The **OpenAI** entry instead takes an OpenAI API key, billed separately from any ChatGPT plan. For a Claude plan, choose **Anthropic**, then **Authorize account**; its **API Key** option is billed separately. Do not present a service connector or a custom Agent as if it changed the model provider: a connector adds external service actions, while an Agent changes how work is organized. Without a working official model or valid provider credentials, Orkas cannot truthfully claim that an Agent is running ChatGPT, Claude, DeepSeek, or another external model.++Search, image generation, video generation, and text-to-speech are separate tabs in **Models**. Search and image providers use their own protected setup dialogs (the tab's **Add** button); when no separate image service is configured, Orkas may use the selected chat model only if that API-key model supports image generation. **Commercial edition only:** after sign-in, the **Video** tab lists the built-in **Orkas · Video**; it needs no API key and uses credits. When the user wants to make an AI video or asks which services to connect, lead with this path: they describe the video to **VideoStudio**, which shows the credit quote for the planned generated clips and waits for approval before any paid generation; a failed **Orkas · Video** generation is not charged. Offer a provider API key only when the user asks for one or prefers to pay that provider directly. **Both editions:** for provider-owned video access, open the **Video** tab's **Add** dialog, choose one of the service/model options currently shown, and enter its API key. A configured provider is then used instead of **Orkas · Video** and bills generated clips to the provider account, which needs its own balance and model access; narration, images, or the task's model in the same production can still use credits. Do not present adding a key as a way to stop using credits. This flow does not expose a separate model picker or a **Test** action. Save the credential, then validate it with a small real generation. If that fails, use the exact provider message to check the API key, provider credits, input requirements, and service availability; do not direct the user to chat-model controls.++**Commercial edition only:** the managed **Orkas · Voice** row can be enabled or disabled, but it is not deleted; a disabled row stays visible and marked **Disabled** so it can be enabled again, while user-configured speech providers remain independently removable. If narration reports that Orkas Voice is turned off, enable that row or configure another speech provider before retrying—waiting or retrying without changing the setting will not restore a user-disabled service.++To use an OpenAI Chat, OpenAI Responses, or Anthropic-compatible endpoint that is not listed:++1. In **Account settings > Models > Chat**, choose **Add model**, then the provider **Custom**.+2. Select the gateway’s **Protocol**: **OpenAI-compatible** (Chat Completions), **OpenAI Responses**, or **Anthropic-compatible**. Choose Responses when the service supports reasoning with tools. Enter the API Base URL, exact model ID, and API key in the protected form. The label and maximum output tokens are optional; enter an explicit token limit only when the provider requires one. For OpenAI, a `/chat/...` URL is converted to its API base. For Responses, enter the API base (for example `https://orkas.ai/v1`); a final `/responses` is removed automatically. For Anthropic, use the server base URL with any gateway prefix; a final `/v1` or `/v1/messages` is removed automatically. Existing configurations without a protocol continue to use OpenAI.+3. Save, then use **Test** on the model's priority-list row before important work.++The saved model is shown by its model ID, like other model configurations.++When a task cannot use the current model, check its status in **Account settings > Models**, complete the provided sign-in or credential flow, confirm credits or account access, then select an available model and retry. If Orkas reports that another official model handled the request, the task has already continued; retry only if it later ends without a usable result.+## Tool permissions+Permission modes in **Account settings > General > Agent behavior > Local operation permissions** balance convenience and control:++- **Cautious**: workspace files only; sensitive actions ask for confirmation.+- **Standard**: all files; sensitive actions ask for confirmation.+- **Trusted**: all files; most sensitive actions run without confirmation, but local system changes, external writes or launches, and irreversible actions still ask.++These modes govern Orkas-run local operations and connector actions, including connectors used by external CLI agents. Recognized reads and ordinary edits, such as fetching mail or saving a draft, need no connector confirmation. In Cautious and Standard, sensitive actions such as sending, publishing, payments, permission changes, and deletion require confirmation; unclassified and custom-server actions also require confirmation. In Trusted, available connector actions run without confirmation. Prohibited actions remain unavailable in every mode. Connecting an account still requires the service's authorization. Expand View details to inspect the operation and parameters. Allow once approves only the current operation; Allow for this task approves all subsequent operations for this connector account, including deletion, until the task ends or stops. Reconnecting clears that approval; global permissions stay unchanged.++When an external CLI supports selectable permissions, its **AI Team > Agent details > Runtime settings > Permission level** control governs native CLI requests independently: **Use CLI default** follows that CLI; **Ask for permission** forwards native approval requests to the shared Orkas confirmation dialog, shows the CLI action or selected path, and returns the decision to the CLI; **Full access** automatically accepts supported native requests for that Agent. The dialog can save a different supported level for the Agent, but it does not change the CLI's global configuration or connector operation permissions. OpenCode is fixed to **Full access** and does not show this control.+## Memory+Memory carries concise, durable facts and preferences into later conversations within its scope. It complements explicit **Goals & rules**, source documents in **Library**, and work tracked in **To-do**. Open **Account settings > Data**, then open **Memory** to review the preferences and facts kept across conversations. Add or edit an entry, import supported `.md`, `.txt`, or `.json` content, or export the current memory when needed. Project memory remains in the Project's **Memory** tab and applies to that Project.++- Review and correct saved memory when it becomes inaccurate.+- Remove sensitive or no-longer-useful items.+- Put temporary instructions in the current task rather than saving them as lasting memory.+- Do not assume deleting a conversation removes separately saved memory.+## Sync and cloud data (commercial edition only)+Cloud sync requires an eligible membership; without one, **Account settings > Data** shows a subscribe prompt rather than an error. It can make supported data, including app-private business data and files in supported apps, available on other signed-in devices. App caches remain device-local; older app storage is not migrated automatically.++- When membership ends, **Sync paused** stops automatic sync. Open **Account settings > Data** to check the server deletion date and choose **Renew to resume sync**; pricing recommends the previous tier. Local data is kept. Renewal resumes sync after the account refresh while cloud data remains; if it was cleared, review the notice and enable sync again. Before deletion, app reminders appear once at three days and one day remaining when Orkas is open.+- Wait for sync to finish before editing the same item on another device. When versions cannot be merged, **Conflict log** in **Account settings > Data** lists them: **Use local version** keeps this device's copy, **Use cloud version** replaces it and deletes the local copy, and **Resolve with AI** opens a task to merge them.+- Keep the app open and connected when a large change still needs to upload. If sync shows **Lots of local deletions detected**, it pauses: choose **Confirm delete** only if the deletions were intended; otherwise **Cancel & restore**.+- Task attachments do not sync with their task. Add a supported file to Library when it should be reusable on another synced device.+- Model API keys stay on the device where they were configured and are not cloud-synced.+- Disabling sync on one device stops future synchronization there; it is not the same as deleting cloud data.+- Signing out switches Orkas to a signed-out space, so that account's local data is no longer shown until you sign in again; let sync finish first. **Sign out** is in the sidebar account menu and in **Account settings > Account**; both ask for confirmation.++To remove cloud data, turn off cloud sync in **Account settings > Data** and choose **Turn off and delete cloud data**. This stops sync and deletes cloud data for every device and may not be reversible; **Turn off this device** keeps cloud data.+## Clean up task history+Open **Account settings > Data > Clean up task history**, below **Data directory**. Choose tasks last active more than **7, 14, 30, 60, 90, or 180 days** ago (default **30**). Tasks of all statuses are listed, including pinned and unread tasks, tasks with drafts, and automation runs. These labels appear beside task titles. Running or queued tasks can be selected and are stopped automatically after cleanup is confirmed. If stopping fails, the task is kept and reported as failed. Tasks whose activity cannot be verified are temporarily unavailable for cleanup. Projects themselves and their other content are kept.+1. Choose **View** to inspect the list; no tasks are selected initially. You can view a task’s conversation from this list, then return to continue cleanup. Select a Project or individual tasks; project-wide selection includes all pages. Project rows show a shared or private icon, name and expand/collapse control. Tasks without a Project appear at the top level. Choose **Clean up tasks**, read the inline confirmation, then **Move to recycle bin** on the same page.+2. Watch progress; **Stop** leaves already moved items in the recycle bin. Failed items can be retried. Tasks that become active or change during backup are skipped. Restore an item from **Recycle Bin > Local > Restore** below; project tasks return to their original Project.+Task history, attachments and embedded results move to the local recycle bin; unsent drafts are deleted. Cleaning automation runs keeps the automation configuration. With cloud sync enabled, task deletion also propagates to other devices. Recycle copies are not automatically removed; disk space is only freed after permanently deleting or emptying them.+## Recycle bin and deletion+**Recycle Bin** in **Account settings > Data** keeps deleted items (tasks, Projects, Library files, apps, Agents, Skills and more) as restorable batches.++1. Choose the **Cloud** or **Local** tab and find the batch by its contents and date; **View** shows details.+2. Choose **Restore**. Existing files are skipped and the recycle-bin copy is kept.+3. Confirm the item is back where expected.++**Delete** or **Empty** removes batches permanently; they cannot be restored afterward.++**Background running and quitting.** On macOS and Windows, closing the window keeps tasks and automations running in the background without a prompt. Click the menu-bar or system-tray icon and choose **Open** to return to the same window, or **Quit** to exit directly without confirmation. macOS Dock and application-menu Quit also exit. Quitting stops active work and scheduled execution until Orkas runs again. Sleep, shutdown, or forced termination can interrupt execution.++**Launch at startup.** The installed app offers **Account settings > General > Launch at startup**, off by default. Enabling it requests this operating-system user's startup item; if approval is needed, use **Open system settings** and allow Orkas. System startup runs Orkas with its window hidden; opening Orkas manually shows the window. Disabling startup does not quit the current app. On entering **Auto** with enabled automations and startup off, a one-time prompt offers **Not now** or **Enable**. Dismissal keeps startup off and is remembered on this device. System-side changes take precedence; account switching and cloud sync do not re-enable startup. It does not wake the computer or replace task access and permissions.++**Notifications, microphone, and updates.** Task notifications require both the **General** setting and operating-system notification permission. When no Orkas window is focused, they cover task completion or failure and permission, confirmation, or interactive-input gates that need your action; selecting one returns to the originating task. Commercial voice input requires sign-in and available credits; the open-source build uses its configured Orkas API Key. Both need a working microphone and operating-system microphone permission; Orkas shows which condition blocked it.++**Commercial edition only:** install app updates from **Account settings > General > App & updates** (**Check for updates**, **Download update**, **Restart to update**) or the update button in the sidebar. Finish or save important work before restarting the app.diff --git a/resources/builtin/system/skills/orkas-guide/references/tasks-and-conversations.md b/resources/builtin/system/skills/orkas-guide/references/tasks-and-conversations.mdnew file mode 100644index 00000000..8a1d93f4--- /dev/null+++ b/resources/builtin/system/skills/orkas-guide/references/tasks-and-conversations.md@@ -0,0 +1,64 @@+# Tasks and conversations++## Start with a useful request++A task is the execution conversation for a concrete request: it keeps messages, progress and results, and can continue through follow-up messages. A Project groups related tasks; a to-do records planned work that can be linked to one of these execution conversations.++A strong request states:++- the result the user wants;+- the audience or intended use;+- the source material to use;+- important limits such as format, tone, deadline, or actions that need approval.++The user can attach local files or select available Orkas resources from the task composer. Attachments are best for material needed only in this task; Library or Project resources are better for material that should be reused.++## Add the right capability or context++Use the task's resource selector when a specific agent, skill, connector, or saved source is needed. Selecting fewer relevant resources is usually clearer than selecting everything.++If a required resource is disabled, disconnected, or unavailable to the current account, fix that state first or continue with the capabilities that remain available.++## Follow work in progress++- The current status shows whether Orkas is working, waiting for input, completed, stopped, or failed.+- Progress messages and queued work explain what is happening; they are not the final deliverable.+- User-authored queued messages offer **Send now** when available, **Edit**, and **Cancel**, in that order. **Edit** puts the message back in the main input box with its attachments, references, Skill and Connector chips, and selected Agent. The message stays visible in the queue while editing. New queued messages wait while editing; replies already in progress continue. Use the check button to save back to the same queue position, **Cancel** on its queue row to cancel the message without sending it, or Escape to discard edits and keep the original queued message. Each completed action restores the draft that was previously in the input box. Edits survive switching tasks and reloading the window. If saving fails, the edited text stays in the input box for retry; if the message is no longer editable, copy the text before cancelling the edit and sending a new message.+- **Send now** appears only when the queued message can guide the current turn: its target must be the active Commander, the same Orkas-run Agent, or the same external CLI Agent while that CLI exposes live input for its current turn. The full message is preserved when inserted, including attachments and images, references and referenced files, Skill and Connector selections, and the selected Agent. The inserted message appears in the task before the current reply continues. A different Agent recipient, nested dispatch, or CLI turn without live input does not show this action; that message remains intact in the queue and starts automatically as a follow-up turn.+- When a Claude Code Agent reports **Background task running**, its current reply remains in progress and continues receiving the CLI's later output. New messages stay queued by default until that reply finishes. **Stop** ends the current CLI turn and its background processes. A continuous background phase is stopped after 24 hours; retry or ask the Agent to continue any unfinished work.+- When no queued message is being edited, a queued message starts automatically when the preceding turn finishes, even if another task is open. Return to the original task to review its progress or stop it.+- In a longer task, use the slim navigation rail at the left of the conversation to preview and jump between turns. Scroll inside the rail to reveal earlier turns.+- When Orkas asks for a choice, confirmation, or form value, answer in the task so work can continue.+- A Codex Agent can show a question panel above the message input while its current reply keeps running. The question panel, task list, and attachments occupy separate rows; scroll this area when space is limited. Choose an option or type an answer for each question, then select **Send answer**. Switching tasks keeps the draft. The submitted answer appears separately in the conversation. Unanswered questions remain available while that CLI turn accepts input. Select **Cancel** to dismiss an unanswered question without sending an answer or stopping the task. Cancelled questions stay closed after switching tasks or reloading. If cancellation fails, the draft is kept so you can retry. The panel also closes after the answer is saved or the turn ends. After the turn ends, send a new message to continue instead. Expiry does not send an answer or interrupt the running Agent.+- Claude Code questions appear as a choice or text dialog. Questions that allow several choices require **Confirm** after selection; a custom answer is also available. Cancelling does not supply an answer. Question deadlines and cancellation follow the CLI. Orkas does not add its own answer timeout. When the CLI clears a request or the run ends, its dialog closes; the CLI decides how to proceed.+- Use **Stop** when the current direction should not continue. Stopping does not automatically undo actions already completed. The stopped message returns to the composer with its attachments, references, Skill and Connector chips, and selected Agent, so it can be corrected and sent again; it also stays in the task as sent. Anything already typed in the composer is kept instead, and a queued message being edited keeps the composer.+- Send an additional message when the outcome needs refinement; keep it in the same task when the context still applies.++## Review and continue++When the task finishes:++1. Check that the result matches the requested outcome.+2. Open generated files or interactive results from the final message.+3. Download or save anything that needs to be used outside Orkas.+4. Ask for a focused revision in the same task when the existing context is useful.+5. Start a new task when the goal or sensitive context is materially different.++Past tasks can be reopened from the conversation or task history. Search is often faster when the user remembers a title, phrase, project, or result name.++## Organize a task in a Project++For a task outside a Project, use its three-dot menu → **Add to project**. See [Add an existing task to a Project](projects-and-automation.md#add-an-existing-task-to-a-project) for choosing a destination and agents, the running-task restriction, and partial-success handling.++## Share messages and results (commercial edition only)++- Hover over a message to reveal its actions, then use **Share** to create a 30-day link to that message; alternatively, select several messages and share them together.+- If a selected message has generated files, the Share panel lists only files that the public page can preview. Files are not included by default; select only what link visitors should receive. Images, audio, video, PDF, HTML, and text open directly in an isolated preview. Modern Word, Excel, and PowerPoint files are converted on this device to an anonymous read-only HTML preview because browsers cannot open them directly; the original Office file is not included. Each file or generated preview may be up to 10 MB, with a 30 MB total per share.+- Use the result's **More** menu or the Share button in its preview to share one file directly. Files without a supported preview do not show Share.+- A share link includes the chosen content and previews, but not filenames, sizes, download actions, local device paths, or neighboring files. Anyone with the link can view what was selected until the link expires.++If a selected file was moved, deleted, or is no longer accessible, reopen Share after restoring access or choose another result.++## Retry safely++Hover over a failed or stopped message to reveal **Retry**, then retry after correcting the likely cause or deciding that the interrupted work should continue. Before retrying a task that may have changed an external system, verify what already happened so the same message, record, purchase, or deletion is not performed twice.diff --git a/test/main/quality/orkas-guide-editions.test.ts b/test/main/quality/orkas-guide-editions.test.tsnew file mode 100644index 00000000..f290cd18--- /dev/null+++ b/test/main/quality/orkas-guide-editions.test.ts@@ -0,0 +1,50 @@+import fs from 'node:fs';+import path from 'node:path';+import { describe, expect, it } from 'vitest';++const skillRoot = path.resolve(process.cwd(), 'resources/builtin/system/skills');+const guideRoot = path.join(skillRoot, 'orkas-guide');+const read = (file: string) => fs.readFileSync(path.join(guideRoot, file), 'utf8');++describe('shared Orkas guide editions', () => {+ it('ships one registered guide whose references remain readable in either build', () => {+ const rows = JSON.parse(fs.readFileSync(path.join(skillRoot, '_system.json'), 'utf8'));+ expect(rows.filter((row: { id: string }) => row.id === 'orkas-guide')).toEqual([+ { id: 'orkas-guide', update_at: expect.any(Number) },+ ]);+ const root = read('SKILL.md');+ expect(root).toContain('name: orkas-guide');+ expect(root).toMatch(/commercial and open-source editions/i);+ expect(root).toMatch(/commercial edition only[^\n]*paid membership/i);+ for (const [, reference] of root.matchAll(/\]\((references\/[^)#]+)(?:#[^)]*)?\)/g)) {+ expect(reference).not.toContain('..');+ expect(read(reference).trim(), reference).not.toBe('');+ }+ expect(root).toContain('(references/editions.md)');+ });++ it('separates commercial account features from local and user-owned provider access', () => {+ const editions = read('references/editions.md');+ for (const fact of ['cloud sync', 'collaboration', 'public share links', 'publication', 'automatic updates', 'iOS']) {+ expect(editions.toLowerCase(), fact).toContain(fact.toLowerCase());+ }+ expect(editions).toContain('provider OAuth');+ expect(editions).toContain('Orkas API Key');+ expect(editions).toMatch(/local[^\n]*Projects[^\n]*To-do[^\n]*Automation/i);+ expect(editions).toMatch(/no Account\/Plan\/credits page/);+ expect(editions).toContain('Settings > Models');+ expect(editions).toContain('Settings > Data');+ expect(editions).toContain('Settings > General');+ });++ it('labels hosted workflows at their owning sections', () => {+ for (const [file, section] of [+ ['projects-and-automation.md', 'Share a Project with members'],+ ['tasks-and-conversations.md', 'Share messages and results'],+ ['library-search-and-apps.md', 'Publish an app'],+ ['settings-data-and-safety.md', 'Credits'],+ ['settings-data-and-safety.md', 'Membership'],+ ['settings-data-and-safety.md', 'Sync and cloud data'],+ ]) expect(read(`references/${file}`)).toMatch(new RegExp(`## ${section}[^\\n]*commercial edition only`, 'i'));+ });+});