@chibitek/chibi 0.1.188 → 0.1.191

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/assets/TerminalPanel-D8Eovq0F.js +10 -0
  2. package/dist/assets/TerminalPanel-DFuMZ0ql.css +1 -0
  3. package/dist/assets/{abnfDiagram-O67JEVCF-CKDXgnYw.js → abnfDiagram-O67JEVCF-CPvuUneJ.js} +1 -1
  4. package/dist/assets/{arc--VPK-xet.js → arc-aMP_0t5b.js} +1 -1
  5. package/dist/assets/{architectureDiagram-NJMV4G6O-DSVjpq7n.js → architectureDiagram-NJMV4G6O-yyXrFi66.js} +1 -1
  6. package/dist/assets/{blockDiagram-BEXU5L5S-BiQ1JgSl.js → blockDiagram-BEXU5L5S-BQN3ZvRc.js} +1 -1
  7. package/dist/assets/{c4Diagram-YGBWAQC7-kWWEc-NZ.js → c4Diagram-YGBWAQC7-BieilTo4.js} +1 -1
  8. package/dist/assets/channel-Bw54wjTR.js +1 -0
  9. package/dist/assets/{chunk-2Q5K7J3B-QJYqMtWJ.js → chunk-2Q5K7J3B-Df4lxXIM.js} +1 -1
  10. package/dist/assets/{chunk-3FUC2YCW-C7oGYTZS.js → chunk-3FUC2YCW-su_KXf5y.js} +2 -2
  11. package/dist/assets/{chunk-5VM5RSS4-MahQWTzh.js → chunk-5VM5RSS4-DL3rM5tY.js} +1 -1
  12. package/dist/assets/{chunk-GTNCS2PH-CQfOvr7l.js → chunk-GTNCS2PH-53Ovfw1t.js} +1 -1
  13. package/dist/assets/{chunk-GWA4HPMP-b0lt02Pi.js → chunk-GWA4HPMP-BkeiDfwS.js} +1 -1
  14. package/dist/assets/{chunk-JWPE2WC7-J1_ylbx8.js → chunk-JWPE2WC7-CvsdGjCO.js} +1 -1
  15. package/dist/assets/{chunk-NETBCI7D-AWcL9tld.js → chunk-NETBCI7D-BngSjMee.js} +1 -1
  16. package/dist/assets/{chunk-WEXAMYUT-DpTrAXJV.js → chunk-WEXAMYUT-DitKn6fq.js} +1 -1
  17. package/dist/assets/{chunk-XXDRQBXY-2_DCjtc9.js → chunk-XXDRQBXY-Czjvl52d.js} +1 -1
  18. package/dist/assets/{classDiagram-v2-NBCMYWYE-BBQMtHHs.js → classDiagram-v2-NBCMYWYE-COr4Qzpk.js} +1 -1
  19. package/dist/assets/{cose-bilkent-JH36ORCC-CmxRmDe8.js → cose-bilkent-JH36ORCC-Eg0tlzqp.js} +1 -1
  20. package/dist/assets/{cynefin-OW5HDTMX-DjlothXK.js → cynefin-OW5HDTMX-BjtG84WL.js} +1 -1
  21. package/dist/assets/{cynefinDiagram-VND7K2PF-D6HfzP26.js → cynefinDiagram-VND7K2PF-BzZtwDD4.js} +1 -1
  22. package/dist/assets/{dagre-6A5THRUB-BtzaxY50.js → dagre-6A5THRUB-TrLQ507j.js} +1 -1
  23. package/dist/assets/{diagram-22UHCM2B-DsyCiGJD.js → diagram-22UHCM2B-BDQDC-33.js} +1 -1
  24. package/dist/assets/{diagram-3UASUU5V-CjjvxIr3.js → diagram-3UASUU5V-Cm_mzSfE.js} +1 -1
  25. package/dist/assets/{diagram-ATOU4E4O-DDu2iVRb.js → diagram-ATOU4E4O-CAI_i4oy.js} +1 -1
  26. package/dist/assets/{diagram-CDSNMT55-BBTViw3h.js → diagram-CDSNMT55-9GjNyQXn.js} +1 -1
  27. package/dist/assets/{diagram-MLGK6HIB-D83j4C6w.js → diagram-MLGK6HIB-ETDg4UN-.js} +1 -1
  28. package/dist/assets/{diagram-MPIPVDR6-DTpmpL8Q.js → diagram-MPIPVDR6-8_8dZKgW.js} +1 -1
  29. package/dist/assets/{ebnfDiagram-ZINNZB2B-D3B4hz_Y.js → ebnfDiagram-ZINNZB2B-BiYh2ZYM.js} +1 -1
  30. package/dist/assets/{elk-276RUBZZ-CbNicGf_.js → elk-276RUBZZ-5u6sMYIg.js} +1 -1
  31. package/dist/assets/{erDiagram-OPXOYQCR-DeSwxwFC.js → erDiagram-OPXOYQCR-Dm6semJ3.js} +1 -1
  32. package/dist/assets/{flowDiagram-KWPJA3E3-3n_Hk-ZR.js → flowDiagram-KWPJA3E3-DbQ12CeV.js} +1 -1
  33. package/dist/assets/{ganttDiagram-FUAMR5RP-BsadEPTf.js → ganttDiagram-FUAMR5RP-C12s51S6.js} +1 -1
  34. package/dist/assets/{gitGraphDiagram-X574FWY7-DOvqN3Jh.js → gitGraphDiagram-X574FWY7-BhkwBL2T.js} +1 -1
  35. package/dist/assets/{index-BmYLMFD8.js → index-D4BfC2Zf.js} +1 -1
  36. package/dist/assets/index-DBOyvapT.css +1 -0
  37. package/dist/assets/{index-B9LCl5y3.js → index-WT8Xwc4G.js} +175 -174
  38. package/dist/assets/{infoDiagram-VRGFBTTK-CI3tfMt9.js → infoDiagram-VRGFBTTK-IvWqyiSM.js} +1 -1
  39. package/dist/assets/{ishikawaDiagram-OU5B5YK6-BE7AjZYf.js → ishikawaDiagram-OU5B5YK6-N2ZxLyoE.js} +1 -1
  40. package/dist/assets/{journeyDiagram-ZHPQQLJL-DplNZPox.js → journeyDiagram-ZHPQQLJL-UWy3ala_.js} +1 -1
  41. package/dist/assets/{kanban-definition-PNTS6WVX-Cos64we-.js → kanban-definition-PNTS6WVX-Cutk-kDA.js} +1 -1
  42. package/dist/assets/{linear-DDfQb-jo.js → linear-dPnV_-aA.js} +1 -1
  43. package/dist/assets/{mermaid.core-BekbnuLb.js → mermaid.core-QdldWb2L.js} +5 -5
  44. package/dist/assets/{mindmap-definition-NLK3R4M7-DJ0MbzMW.js → mindmap-definition-NLK3R4M7-pkXW8CYn.js} +1 -1
  45. package/dist/assets/{pegDiagram-GJSIUBJH-DZNZCZ4O.js → pegDiagram-GJSIUBJH-DhKkEQzV.js} +1 -1
  46. package/dist/assets/{pieDiagram-5QR66LMP-COD5v2yC.js → pieDiagram-5QR66LMP-DMehGrxw.js} +1 -1
  47. package/dist/assets/{quadrantDiagram-O4NWA36T-D4dlLWfv.js → quadrantDiagram-O4NWA36T-oNzYf4fg.js} +1 -1
  48. package/dist/assets/{railroadDiagram-XR7U4H2S-CEpVYFKl.js → railroadDiagram-XR7U4H2S-pkMOwYja.js} +1 -1
  49. package/dist/assets/{requirementDiagram-PLB6GJNP-DYD5GX0G.js → requirementDiagram-PLB6GJNP-J29GrlJj.js} +1 -1
  50. package/dist/assets/{sankeyDiagram-IPEJSGJF-C9bPeTfK.js → sankeyDiagram-IPEJSGJF-YuyCeGY6.js} +1 -1
  51. package/dist/assets/{sequenceDiagram-PO4LG4MO-eXpmPg9C.js → sequenceDiagram-PO4LG4MO-BjxLu0JW.js} +1 -1
  52. package/dist/assets/{sizeCapture-INFHLROL-DfqKWBhp.js → sizeCapture-INFHLROL-BESOD3ec.js} +1 -1
  53. package/dist/assets/{stateDiagram-v2-GCMORJYK-DkIf90iA.js → stateDiagram-v2-GCMORJYK-DF2yvbZA.js} +1 -1
  54. package/dist/assets/{swimlanes-2SLR337P-Ds64cQxN.js → swimlanes-2SLR337P-Bzp4ze7n.js} +1 -1
  55. package/dist/assets/swimlanesDiagram-TC7HE7FX-B6y4ZZ5q.js +8 -0
  56. package/dist/assets/{timeline-definition-EJHVYXUP-Ci3-31qT.js → timeline-definition-EJHVYXUP-CnLbXs4R.js} +1 -1
  57. package/dist/assets/{usecaseDiagram-POWQR4AR-DQUGgfBf.js → usecaseDiagram-POWQR4AR-nuJhbhCv.js} +1 -1
  58. package/dist/assets/{vennDiagram-UO4OBE2U-DV5_nmWl.js → vennDiagram-UO4OBE2U-D_hzVg9h.js} +1 -1
  59. package/dist/assets/{wardleyDiagram-VNRHLVJA-DatPTthc.js → wardleyDiagram-VNRHLVJA-hgmpI4iu.js} +1 -1
  60. package/dist/assets/{xychartDiagram-PMCCYNJV-ADaxt1QH.js → xychartDiagram-PMCCYNJV-DwnJWdDn.js} +1 -1
  61. package/dist/index.html +2 -2
  62. package/dist-server/container-mcp.js +3 -0
  63. package/dist-server/drivers/agents-proxy.js +14 -4
  64. package/dist-server/index.js +4802 -3806
  65. package/dist-server/openmausbot.js +1383 -846
  66. package/dist-server/pair-cli.js +1383 -846
  67. package/dist-server/server/browser-runtime.js +41 -5
  68. package/dist-server/server/chibi-defaults.js +96 -0
  69. package/dist-server/server/cli-login.js +4 -0
  70. package/dist-server/server/config.js +1 -1
  71. package/dist-server/server/connection-cap-failover.js +0 -2
  72. package/dist-server/server/drivers/agents-vault.js +4 -3
  73. package/dist-server/server/engine-failover.js +20 -7
  74. package/dist-server/server/engine-failure.js +5 -5
  75. package/dist-server/server/engine-tiers.js +14 -44
  76. package/dist-server/server/hermes-reply-failure.js +27 -0
  77. package/dist-server/server/hidden-ai-text.js +56 -0
  78. package/dist-server/server/index.js +47 -50
  79. package/dist-server/server/ladder-order.js +74 -0
  80. package/dist-server/server/model-levels/chibitek-rankings.js +8 -3
  81. package/dist-server/server/model-levels/index.js +3 -0
  82. package/dist-server/server/nexus-memory/backoff.js +27 -0
  83. package/dist-server/server/nexus-memory/index.js +12 -16
  84. package/dist-server/server/paw/nexus-sync.js +160 -0
  85. package/dist-server/server/paw/service.js +25 -3
  86. package/dist-server/server/paw/sync.js +19 -30
  87. package/dist-server/server/remote-desktop.js +1 -0
  88. package/dist-server/server/routes/terminal.js +72 -0
  89. package/dist-server/server/system-prompt.js +17 -2
  90. package/dist-server/server/terminal-places.js +63 -0
  91. package/dist-server/server/terminal.js +124 -0
  92. package/dist-server/server/vault/fill.js +338 -0
  93. package/dist-server/server/vault/request.js +6 -2
  94. package/dist-server/server/vault/routes.js +14 -2
  95. package/dist-server/server/vault/runtime.js +14 -0
  96. package/dist-server/server/vault/store.js +40 -3
  97. package/dist-server/shared/approval-mode.js +12 -2
  98. package/dist-server/shared/engine-choices.js +14 -0
  99. package/dist-server/shared/engine-tiers.js +29 -1
  100. package/dist-server/shared/harness-weights.js +33 -0
  101. package/dist-server/shared/provider-accounts.js +5 -3
  102. package/dist-server/shared/subscription-bots.js +14 -6
  103. package/dist-server/shared/vault-api-providers.js +48 -0
  104. package/dist-server/shared/vault-csv.js +62 -14
  105. package/dist-server/shared/vault.js +14 -3
  106. package/dist-server/vps-container-mcp.js +3 -0
  107. package/package.json +1 -1
  108. package/skills/build-paw/SKILL.md +53 -0
  109. package/skills/build-paw/VENDORED.md +4 -0
  110. package/skills/build-paw/manifest.json +10 -2
  111. package/skills/build-paw/references/roles.md +134 -0
  112. package/skills/build-paw/references/wiring.md +77 -0
  113. package/dist/assets/channel-CQdxuHwI.js +0 -1
  114. package/dist/assets/index-CI0vGAif.css +0 -1
  115. package/dist/assets/swimlanesDiagram-TC7HE7FX-bO3Klz6Z.js +0 -8
  116. package/skills/icm-workspace-builder/SKILL.md +0 -154
  117. package/skills/icm-workspace-builder/VENDORED.md +0 -14
  118. package/skills/icm-workspace-builder/manifest.json +0 -15
  119. package/skills/icm-workspace-builder/references/interview.md +0 -39
  120. package/skills/icm-workspace-builder/references/templates.md +0 -147
  121. package/skills/icm-workspace-builder/references/wiring.md +0 -69
@@ -24,7 +24,12 @@ import { modelHost } from "./engine-choices.js";
24
24
  * - The Atomic Engine and the company connection (the Chibitek gateway):
25
25
  * they are Atomic's own routing, which these bots never use. */
26
26
  export const SUBSCRIPTION_PROVIDERS = Object.freeze([
27
- { id: "claude", name: "Claude", drivers: ["claudeAgent"], generic: ["claude", "claude code", "claude subscription", "anthropic"], signInUrl: "https://claude.ai/login" },
27
+ // Claude Code also lists models it can be pointed at (a leftover API slug,
28
+ // a settings.json custom model): only Anthropic's own count.
29
+ {
30
+ id: "claude", name: "Claude", drivers: ["claudeAgent"], generic: ["claude", "claude code", "claude subscription", "anthropic"],
31
+ ownModels: /^claude-/i, signInUrl: "https://claude.ai/login",
32
+ },
28
33
  { id: "chatgpt", name: "ChatGPT", drivers: ["codex"], generic: ["chatgpt", "codex", "chatgpt (codex)", "openai"], signInUrl: "https://chatgpt.com/auth/login" },
29
34
  {
30
35
  id: "gemini", name: "Gemini", drivers: ["antigravityAgent", "geminiAgent"], generic: ["gemini", "antigravity", "google", "google gemini"],
@@ -83,14 +88,17 @@ export function subscriptionProviderForEngine(engine) {
83
88
  return SUBSCRIPTION_PROVIDERS.find((provider) => provider.host && provider.drivers.includes(engine.driverKind)
84
89
  && engine.models.options.some((option) => modelHost(engine.driverKind, option) === provider.host));
85
90
  }
86
- /** Whether a model on this engine is the provider's own (always, except on
87
- * an engine that also serves other companies' models). */
91
+ /** Whether a model on this engine is the provider's own. A `host::model` id
92
+ * is another host's model run through the harness (a local inject: Ollama,
93
+ * Ollama Cloud, LM Studio), so it is never the provider's, whoever made the
94
+ * model: a Claude bot runs Anthropic's Claude, not Claude from another host
95
+ * (Erick, 2026-11-13). Otherwise always, except on an engine that also
96
+ * serves other companies' models (`ownModels`). */
88
97
  export function isProviderModel(provider, model) {
98
+ if (model.includes("::"))
99
+ return false;
89
100
  return provider.ownModels ? provider.ownModels.test(model) : true;
90
101
  }
91
- /** Turns one conversation of a company subscription bot may run on another
92
- * provider's subscription when its own has no account free (server/session-fallback.ts). */
93
- export const SESSION_FALLBACK_TURNS = 50;
94
102
  export function isSubscriptionBot(bot) {
95
103
  const value = bot?.subscription;
96
104
  return Boolean(value && typeof value.instanceId === "string" && subscriptionProvider(value.provider));
@@ -0,0 +1,48 @@
1
+ const bearer = (name, ...origins) => ({ name, origins, header: "Authorization", prefix: "Bearer " });
2
+ const keyed = (name, header, ...origins) => ({ name, origins, header, prefix: "" });
3
+ // Order matters where names overlap: the first match wins.
4
+ export const API_PROVIDERS = [
5
+ // Voice, video and media
6
+ keyed(/\b(?:eleven\s*labs|11\s*labs)\b/i, "xi-api-key", "https://api.elevenlabs.io"),
7
+ keyed(/\bheygen\b/i, "X-Api-Key", "https://api.heygen.com"),
8
+ bearer(/\breplicate\b/i, "https://api.replicate.com"),
9
+ // Model providers and routers
10
+ bearer(/\bopen\s*router\b/i, "https://openrouter.ai"),
11
+ bearer(/\bollama\b/i, "https://ollama.com"),
12
+ bearer(/\b(?:hugging\s*face|hf)\b/i, "https://huggingface.co", "https://router.huggingface.co", "https://api-inference.huggingface.co"),
13
+ bearer(/\b(?:nous(?:\s*research)?|hermes)\b/i, "https://inference-api.nousresearch.com"),
14
+ keyed(/\b(?:anthropic|claude)\b/i, "x-api-key", "https://api.anthropic.com"),
15
+ keyed(/\b(?:gemini|google\s+ai|ai\s+studio)\b/i, "x-goog-api-key", "https://generativelanguage.googleapis.com"),
16
+ bearer(/\b(?:openai|chatgpt)\b/i, "https://api.openai.com"),
17
+ bearer(/\bgroq\b/i, "https://api.groq.com"),
18
+ bearer(/\bmistral\b/i, "https://api.mistral.ai"),
19
+ bearer(/\bdeepseek\b/i, "https://api.deepseek.com"),
20
+ bearer(/\b(?:xai|x\.ai|grok)\b/i, "https://api.x.ai"),
21
+ bearer(/\bperplexity\b/i, "https://api.perplexity.ai"),
22
+ bearer(/\b(?:kimi|moonshot)\b/i, "https://api.moonshot.ai"),
23
+ bearer(/\bminimax\b/i, "https://api.minimax.io"),
24
+ bearer(/\b(?:z\.ai|zai|zhipu|glm)\b/i, "https://api.z.ai"),
25
+ bearer(/\btogether(?:\s*ai)?\b/i, "https://api.together.xyz"),
26
+ bearer(/\bfireworks\b/i, "https://api.fireworks.ai"),
27
+ bearer(/\bcohere\b/i, "https://api.cohere.com"),
28
+ // Hosting and developer platforms
29
+ bearer(/\bvercel\b/i, "https://api.vercel.com"),
30
+ bearer(/\bsupabase\b/i, "https://api.supabase.com"),
31
+ bearer(/\brailway\b/i, "https://backboard.railway.com"),
32
+ bearer(/\bgithub\b/i, "https://api.github.com"),
33
+ bearer(/\bcloudflare\b/i, "https://api.cloudflare.com"),
34
+ // Business services
35
+ bearer(/\bstripe\b/i, "https://api.stripe.com"),
36
+ bearer(/\bresend\b/i, "https://api.resend.com"),
37
+ bearer(/\bsendgrid\b/i, "https://api.sendgrid.com"),
38
+ bearer(/\bnotion\b/i, "https://api.notion.com"),
39
+ bearer(/\bslack\b/i, "https://slack.com"),
40
+ // Search and web
41
+ bearer(/\btavily\b/i, "https://api.tavily.com"),
42
+ bearer(/\bfirecrawl\b/i, "https://api.firecrawl.dev"),
43
+ keyed(/\bbrave\b/i, "X-Subscription-Token", "https://api.search.brave.com"),
44
+ ];
45
+ /** The provider an item's name points at, or undefined. */
46
+ export function apiProviderFor(name) {
47
+ return API_PROVIDERS.find((provider) => provider.name.test(name));
48
+ }
@@ -1,3 +1,4 @@
1
+ import { apiProviderFor } from "./vault-api-providers.js";
1
2
  import { vaultOrigin } from "./vault.js";
2
3
  export class VaultCsvError extends Error {
3
4
  }
@@ -52,24 +53,48 @@ const COLUMNS = {
52
53
  password: ["password", "login_password", "pwd", "pass"],
53
54
  name: ["name", "title", "account"],
54
55
  type: ["type"],
56
+ // An API token: its own column, or a row whose type says so. `header` and
57
+ // `prefix` say how it is sent when that is not "Authorization: Bearer".
58
+ token: ["token", "api token", "api_token", "api key", "api_key", "apikey", "access token", "access_token", "credential", "secret", "key"],
59
+ header: ["header", "header name"],
60
+ prefix: ["prefix", "scheme"],
55
61
  // The vault, folder or tag a row was filed under, so an import can take one.
56
62
  group: ["vault", "folder", "grouping", "collections", "collection", "category", "tags"],
57
63
  };
58
- /** Logins from a password manager's CSV export. Notes, TOTP seeds and custom
59
- * fields are dropped: they can hold secrets and hints are not secret. Rows
60
- * without a website, username and password, or that are not logins, are
61
- * counted in `skipped`. Imported items are private to the person (no bots). */
64
+ /** A row's type that means an API token, not a login ("API Credential",
65
+ * "token", "secret key"). */
66
+ const TOKEN_TYPE = /api|token|key|credential|secret/;
67
+ const TOKEN_VALUE = /^[\x21-\x7E]{1,8192}$/;
68
+ const HEADER_NAME = /^[A-Za-z0-9-]{1,64}$/;
69
+ const PREFIX = /^[\x20-\x7E]{0,32}$/;
70
+ /** Logins and API tokens from a CSV export. Notes, TOTP seeds and custom
71
+ * fields are dropped: they can hold secrets and hints are not secret.
72
+ *
73
+ * A login needs a website, username and password. An API token is a row
74
+ * with a token: in a token column, in the password column when the row's
75
+ * type says it is a token, or a password saved under a name alone (no
76
+ * website and no username, how many people keep API keys). With a website
77
+ * it is bound to that website, sent as "Authorization: Bearer <token>"
78
+ * unless `header` and `prefix` columns say otherwise. With no website, a
79
+ * name Atomic knows (shared/vault-api-providers.ts) binds it to that
80
+ * provider's API with the header it asks for; any other is saved with no
81
+ * address, which no bot can use until the person adds one (`needAddress`
82
+ * counts those). Other rows are counted in `skipped`. Imported items may be
83
+ * used by every bot of the person (allBots). */
62
84
  export function vaultLoginsFromCsv(text, group) {
63
85
  const [header, ...rows] = parseCsv(text);
64
86
  if (!header)
65
- return { logins: [], skipped: 0 };
87
+ return { logins: [], apiKeys: [], skipped: 0, needAddress: 0 };
66
88
  const groupAt = columnIndex(header, "group");
67
89
  const col = (key) => columnIndex(header, key);
68
- const at = { url: col("url"), username: col("username"), password: col("password"), name: col("name"), type: col("type") };
69
- if (at.url < 0 || at.password < 0 || at.username < 0)
70
- throw new VaultCsvError("This CSV has no website, username and password columns.");
90
+ const at = { url: col("url"), username: col("username"), password: col("password"), name: col("name"), type: col("type"),
91
+ token: col("token"), header: col("header"), prefix: col("prefix") };
92
+ if (at.token < 0 && at.password < 0)
93
+ throw new VaultCsvError("This CSV has no password or token column.");
71
94
  const logins = [];
95
+ const apiKeys = [];
72
96
  let skipped = 0;
97
+ let needAddress = 0;
73
98
  for (const row of rows) {
74
99
  const cell = (index) => (index >= 0 ? row[index] ?? "" : "").trim();
75
100
  if (group && !groupsOf(cell(groupAt)).includes(group))
@@ -77,17 +102,40 @@ export function vaultLoginsFromCsv(text, group) {
77
102
  const type = cell(at.type).toLowerCase();
78
103
  const raw = cell(at.url).split(/[\s,]+/)[0] ?? "";
79
104
  // Old entries saved as http:// or a bare domain are filled over HTTPS.
80
- const website = vaultOrigin(/^[a-z][a-z0-9+.-]*:\/\//i.test(raw) ? raw.replace(/^http:\/\//i, "https://") : `https://${raw}`);
105
+ const website = raw ? vaultOrigin(/^[a-z][a-z0-9+.-]*:\/\//i.test(raw) ? raw.replace(/^http:\/\//i, "https://") : `https://${raw}`) : null;
81
106
  const username = cell(at.username);
82
- const password = row[at.password] ?? "";
83
- if ((type && type !== "login") || !raw || !website || !username || !password || username.length > 320 || password.length > 4096) {
107
+ const password = at.password >= 0 ? row[at.password] ?? "" : "";
108
+ const name = cell(at.name);
109
+ // A password kept under a name alone, with no website and no username, is an API key.
110
+ const nameOnly = !raw && !username && Boolean(name) && type !== "login";
111
+ const token = cell(at.token) || ((type !== "login" && TOKEN_TYPE.test(type)) || nameOnly ? password.trim() : "");
112
+ if (raw && !website) {
84
113
  skipped++;
85
114
  continue;
86
115
  }
87
- const label = (cell(at.name) || new URL(website).hostname).slice(0, 200);
88
- logins.push({ kind: "login", label, hints: "", botIds: [], expiresAt: null, website, username, password });
116
+ const label = (name || (website ? new URL(website).hostname : "")).slice(0, 200);
117
+ if (token) {
118
+ const known = website ? undefined : apiProviderFor(label);
119
+ const sentIn = cell(at.header) || known?.header || "Authorization";
120
+ // The prefix keeps its trailing space ("Bearer "), so it is not trimmed.
121
+ const prefix = at.prefix >= 0 ? row[at.prefix] ?? "" : cell(at.header) ? "" : known ? known.prefix : "Bearer ";
122
+ if (!label || !TOKEN_VALUE.test(token) || !HEADER_NAME.test(sentIn) || !PREFIX.test(prefix)) {
123
+ skipped++;
124
+ continue;
125
+ }
126
+ const origins = website ? [website] : known ? [...known.origins] : [];
127
+ if (!origins.length)
128
+ needAddress++;
129
+ apiKeys.push({ kind: "apiKey", label, hints: "", botIds: [], allBots: true, expiresAt: null, origins, header: sentIn, prefix, secret: token });
130
+ continue;
131
+ }
132
+ if (!website || (type && type !== "login") || !username || !password || username.length > 320 || password.length > 4096) {
133
+ skipped++;
134
+ continue;
135
+ }
136
+ logins.push({ kind: "login", label, hints: "", botIds: [], allBots: true, expiresAt: null, website, username, password });
89
137
  }
90
- return { logins, skipped };
138
+ return { logins, apiKeys, skipped, needAddress };
91
139
  }
92
140
  function columnIndex(header, key) {
93
141
  const names = header.map((cell) => cell.trim().toLowerCase());
@@ -23,6 +23,11 @@ const address = z.object({
23
23
  const base = {
24
24
  label: z.string().trim().min(1).max(200), hints: text(1000),
25
25
  botIds: z.array(z.string().uuid()).max(100).refine((ids) => new Set(ids).size === ids.length),
26
+ /** Every bot of the owner may use the item, including bots made later
27
+ * (Erick, 2026-11-13: no per-item setup). The default for a new or
28
+ * imported item; `botIds` then adds nothing. Absent on items saved before
29
+ * it existed, which keep their own list. */
30
+ allBots: z.boolean().optional(),
26
31
  expiresAt: z.number().int().positive().max(Number.MAX_SAFE_INTEGER).nullable(),
27
32
  };
28
33
  /** Reject unknown fields rather than accidentally persisting secrets in
@@ -40,7 +45,10 @@ export const vaultInputSchema = z.discriminatedUnion("kind", [
40
45
  }).strict(),
41
46
  // An API key a granted bot may send, in one named header, to the listed
42
47
  // origins. The value is visible ASCII only, so it can never split a header.
43
- z.object({ ...base, kind: z.literal("apiKey"), origins: z.array(origin).min(1).max(50),
48
+ // A key may be saved with no origin yet (many are kept under a name alone,
49
+ // with no website): it is stored, and no bot can send it anywhere until
50
+ // its owner adds an address.
51
+ z.object({ ...base, kind: z.literal("apiKey"), origins: z.array(origin).max(50),
44
52
  header: z.string().regex(/^[A-Za-z0-9-]{1,64}$/), prefix: z.string().regex(/^[\x20-\x7E]{0,32}$/),
45
53
  secret: z.string().regex(/^[\x21-\x7E]{1,8192}$/),
46
54
  }).strict(),
@@ -49,7 +57,7 @@ export const vaultInputSchema = z.discriminatedUnion("kind", [
49
57
  export function vaultMetadata(item) {
50
58
  return {
51
59
  id: item.id, kind: item.kind, label: item.label, hints: item.hints,
52
- botIds: [...item.botIds], expiresAt: item.expiresAt,
60
+ botIds: [...item.botIds], allBots: item.allBots === true, expiresAt: item.expiresAt,
53
61
  origins: item.kind === "login" ? [item.website] : [...item.origins],
54
62
  ...(item.kind === "login" ? { username: item.username } : {}),
55
63
  ...(item.kind === "card" ? { lastFour: item.number.slice(-4), expiryMonth: item.expiryMonth, expiryYear: item.expiryYear, billing: { ...item.billing } } : {}),
@@ -58,9 +66,12 @@ export function vaultMetadata(item) {
58
66
  createdAt: item.createdAt, updatedAt: item.updatedAt,
59
67
  };
60
68
  }
69
+ /** Whether this bot is one the owner let use the item: every bot, or one
70
+ * on its list. The owner, expiry and destination are checked apart. */
71
+ export const vaultGranted = (item, botId) => item.allBots === true || item.botIds.includes(botId);
61
72
  export function vaultUseAllowed(item, actor, now) {
62
73
  const destination = vaultOrigin(actor.destination);
63
- return Number.isSafeInteger(now) && now >= 0 && item.ownerId === actor.ownerId && item.botIds.includes(actor.botId)
74
+ return Number.isSafeInteger(now) && now >= 0 && item.ownerId === actor.ownerId && vaultGranted(item, actor.botId)
64
75
  && (item.expiresAt === null || now < item.expiresAt) && destination !== null
65
76
  && (item.kind === "login" ? item.website === destination : item.origins.includes(destination));
66
77
  }
@@ -16863,6 +16863,9 @@ var featureConfigSchema = external_exports.object({
16863
16863
  * set to false; every room action still needs Atomic's Chibitek sign-in
16864
16864
  * (Settings > General > Basics); see teamRoomsEnabled. */
16865
16865
  teamRooms: external_exports.boolean().optional(),
16866
+ terminal: external_exports.boolean().optional(),
16867
+ localTerminal: external_exports.boolean().optional(),
16868
+ // Last two: the Computer panel Terminal tab, and its shell on this computer, which needs `terminal` too (docs/computer-terminal.md).
16866
16869
  /** Claude bots also load the MCP servers and connectors from this
16867
16870
  * machine's own Claude Code setup (Plugins → MCP servers switch). Off by
16868
16871
  * default: each extra tool costs tokens on every model call. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chibitek/chibi",
3
- "version": "0.1.188",
3
+ "version": "0.1.191",
4
4
  "description": "Atomic by Chibitek: run your AI team's server anywhere and pair your devices to it",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -23,12 +23,47 @@ PAW is a plain-markdown context workspace any AI tool can read (Claude Code, Cla
23
23
 
24
24
  A ready skeleton lives next to this pack in `paw-skeleton/`. Prefer copying it, then filling it from interview answers.
25
25
 
26
+ ## Plain language first
27
+
28
+ Many people who run this are not technical. Unless the person clearly is, explain each idea in
29
+ plain words the first time it comes up, one idea at a time:
30
+
31
+ - *PAW* is "your AI's memory of how you work: one folder every AI tool can read, so you never
32
+ explain yourself twice."
33
+ - *A team pack* is "a labeled drawer for one kind of work."
34
+ - *A pointer* is "a sticky note on each app that says the full instructions are over here."
35
+
36
+ Check they are following before moving on. If they are not, try a different comparison or do the
37
+ step for them and say what you did. Skip the comparisons and move faster once they show they are
38
+ technical. Give paths for their computer: never hand a Windows user `~/` paths untranslated.
39
+
40
+ ## Before you start: one builder, one layout
41
+
42
+ This is the only PAW builder. It also answers the older names (`paw-workspace-builder`,
43
+ `icm-workspace-builder`, "set up my AI context"). Whatever the request was called, build the
44
+ layout below and no other: no numbered stage folders, no second set of root files.
45
+
46
+ Check what you can reach before promising anything:
47
+
48
+ - **You can read and write the person's files:** fill `~/workspace/PAW` directly.
49
+ - **You cannot reach their files** (a chat with no file access): build the same tree in your own
50
+ workspace, package it as a zip download, and walk them through unzipping it to `workspace/PAW`
51
+ in their home folder. Never say you saved something to their computer unless you did.
52
+
53
+ If you can reach files, offer a quick look around first so you ask fewer questions: project
54
+ folders they point you to (READMEs, folder names, notes) and anything you already remember about
55
+ them. Say what you cannot see (history inside other apps). Skip anything that looks like a secret
56
+ (`.env` files, key files). Play back what you found and let them correct it. If they would rather
57
+ just talk, skip the look.
58
+
26
59
  ## Standing rules (all phases)
27
60
 
28
61
  - Ask questions yourself. Do not tell the user to "go edit the files" as the primary path.
29
62
  - Ask **3 to 5 plain-language questions per turn**. One small group at a time. Every question is skippable ("skip" or "later" is fine).
30
63
  - **Never ask for passwords, API keys, tokens, certificates, or customer PII** (no individual client names, emails, phone numbers, account numbers, or health data). Market and customer *type* is fine ("restaurants in NJ", "creative agencies").
31
64
  - If the user offers a secret, refuse to store it. Point them to a password manager by name only.
65
+ - Also keep out: bank, card, tax and government ID numbers; health, legal or HR details about anyone; private details about family beyond what the user wants every AI to know. Say why in one sentence and where it belongs instead.
66
+ - Tell the user once, early: "Anything in here, every AI you connect can see. So we keep it to how you work, not your secrets." If they sync or back up the folder, that copy must stay private.
32
67
  - Show what you will write and where. Save after a clear yes. For files under `org/policies/` (locked), require an **explicit** yes for that file.
33
68
  - `me/personal/` stays private. Company-scoped agents must not open it.
34
69
  - Append every accepted update to `me/CHANGELOG.md` with the date (America/New_York label when known) and a one-line summary.
@@ -62,6 +97,10 @@ Run this before relying on PAW. Cover the topics below across several turns. Ada
62
97
 
63
98
  1. Open with one short sentence: you will ask a few questions so their assistants remember how they work, and they can skip any question.
64
99
  2. Ask group A, wait for answers, then group B, and so on.
100
+ When you reach teams and kinds of work, offer the role quick-pick in `references/roles.md`
101
+ (Developer, Researcher, Accounting, Marketing, Video, Sales, Support, Legal, HR, Design,
102
+ Writing, Administration). For each role they pick, ask that role's follow-ups and seed its
103
+ team pack from that row. A role shapes the questions, never whose facts go in the files.
65
104
  3. After each group, restate what you heard in one or two lines and map it to the target files (do not write yet until Phase 2, unless they already confirmed a single correction mid-flow).
66
105
  4. When coverage is enough for a useful first PAW (at least: name/role, company, one team or "just me", tools, personal goals, and at least one hard rule), move to Phase 2. You can fill gaps later in Phase 3.
67
106
 
@@ -163,6 +202,12 @@ Run this before relying on PAW. Cover the topics below across several turns. Ada
163
202
  ```
164
203
  6. **Smoke check.** Answer one question from PAW alone (for example "what are our hard rules?") and cite the file.
165
204
 
205
+ 7. **Point their other AI tools at PAW.** Ask which other AI tools they use, then follow
206
+ `references/wiring.md`: a thin pointer file for command-line tools, a paste block for web
207
+ chatbots. Atomic writes the Claude Code and Codex pointers itself.
208
+ 8. **Teach the test.** "Open one of your AI tools somewhere unrelated and ask it something only
209
+ your setup would know, like your main rule. If it answers right, it is working."
210
+
166
211
  ---
167
212
 
168
213
  ## Phase 3: Going forward (standing behavior)
@@ -204,8 +249,16 @@ Examples: a new preference, hard rule, tool, team, project, brand word, or never
204
249
  - [ ] No secrets or customer PII in any file
205
250
  - [ ] Agent can answer a policy or company question from PAW alone
206
251
 
252
+ ## Reference files
253
+
254
+ - `references/roles.md`: optional role starter kits for team packs. Shapes only, no personal data.
255
+ - `references/wiring.md`: how to point other AI tools at PAW, per tool, with the pointer format.
256
+ - `paw-skeleton/`: the empty tree to match.
257
+
207
258
  ## Non-goals
208
259
 
260
+ - Do not build any other layout in the PAW folder, whatever name the request used.
261
+
209
262
  - Do not copy another organization's PAW contents into this one.
210
263
  - Do not put credentials or private customer data in PAW.
211
264
  - Do not silently overwrite locked policy files.
@@ -3,3 +3,7 @@
3
3
  `SKILL.md` and `paw-skeleton/` come from the Anthony Rudolph skill pack
4
4
  (`build-paw`, 2026-11-05), adapted for Atomic so the interview runs inside
5
5
  Atomic on Mac, Windows and Linux against `~/workspace/PAW`.
6
+
7
+ `references/roles.md` and `references/wiring.md`, the plain-language coaching, the zip fallback
8
+ and the older trigger names come from the ICM and PAW workspace builder skills (2026-11-14),
9
+ rewritten for this layout. `build-paw` replaces both: there is one PAW builder.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "build-paw",
3
3
  "name": "Build PAW",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "description": "Interview the person and fill their Personal AI Workspace (PAW) when it is missing, empty or sparse, then keep it updated as they share lasting facts.",
6
6
  "defaultEnabled": true,
7
7
  "triggerTerms": [
@@ -13,7 +13,15 @@
13
13
  "fill my paw",
14
14
  "personal ai workspace",
15
15
  "paw interview",
16
- "build my paw"
16
+ "build my paw",
17
+ "paw-workspace-builder",
18
+ "/paw-workspace-builder",
19
+ "paw workspace",
20
+ "set up my ai context",
21
+ "set up your ai context",
22
+ "icm-workspace-builder",
23
+ "/icm-workspace-builder",
24
+ "icm workspace"
17
25
  ],
18
26
  "requiredCapabilities": []
19
27
  }
@@ -0,0 +1,134 @@
1
+ # Role starter kits
2
+
3
+ Optional quick-picks for Group B of the interview (teams and kinds of work). A role here is a
4
+ shape, not a person's data: no names, companies or projects are baked in. Use one when the
5
+ person's work matches it, so you ask sharper questions and seed a better team pack. When nothing
6
+ fits, ask the plain free-form question instead. Most people match more than one.
7
+
8
+ Offer it like this, adapted to how technical they are: "Some of these might match what you do.
9
+ Pick any that fit, or tell me in your own words."
10
+
11
+ Each role becomes one team pack at `departments/<id>/` with a `CONTEXT.md` (and `voice.md`,
12
+ `skills/`, `templates/` when the person wants them). Add the id to `departments:` in `paw.yaml`.
13
+ A role never changes whose facts go in the files: every fact comes from this person.
14
+
15
+ For each role below:
16
+
17
+ - **Pack:** the default `departments/<id>` name.
18
+ - **Stays put:** what the pack's `CONTEXT.md` should hold (rules and references that rarely change).
19
+ - **Working notes:** what changes per job. Keep these out of PAW unless the person asks; PAW holds
20
+ how the work is done, not the work itself.
21
+ - **Steps:** a usual order of work to record under "Process" in `CONTEXT.md`, with a person
22
+ checking between steps. Rename or drop steps to match how they really work.
23
+ - **Ask:** two or three follow-up questions to use in place of the generic ones.
24
+
25
+ ---
26
+
27
+ ## Developer / Engineering
28
+ - **Pack:** `engineering`
29
+ - **Stays put:** coding conventions, stack and tooling, where repos live, review and pull request
30
+ rules, branch and deploy rules, testing expectations.
31
+ - **Working notes:** per-repo or per-feature notes. Never a copy of the code; that lives in its repo.
32
+ - **Steps:** usually none. Release notes can be: gather, draft, review, publish.
33
+ - **Ask:** Which repos and stacks matter most? Any hard rules (branch policy, no made-up data,
34
+ secrets only in environment settings)? Where do repos live on disk?
35
+
36
+ ## Researcher / R&D
37
+ - **Pack:** `research`
38
+ - **Stays put:** research standards (citation style, what counts as a good source), a glossary,
39
+ earlier findings worth not redoing.
40
+ - **Working notes:** per-topic questions and source material, then briefs and findings.
41
+ - **Steps:** intake, research, synthesis, output.
42
+ - **Ask:** What counts as a trustworthy source for you? What format do you want findings in?
43
+
44
+ ## Accounting / Finance
45
+ - **Pack:** `finance`
46
+ - **Stays put:** chart-of-accounts conventions, reporting schedule, who approves what, and a hard
47
+ rule against inventing numbers.
48
+ - **Working notes:** per-period statements and reports. Never account numbers or logins.
49
+ - **Steps:** intake, reconcile, report.
50
+ - **Ask:** How often do you report? What must never be guessed or estimated? Who signs off?
51
+
52
+ ## Marketing / Content
53
+ - **Pack:** `marketing`
54
+ - **Stays put:** brand voice, style guide, channels, banned words and claims, the approval rule
55
+ (draft versus publish). Voice also belongs in `org/brand/voice.md`.
56
+ - **Working notes:** per-campaign brief and drafts.
57
+ - **Steps:** brief, draft, review, publish.
58
+ - **Ask:** What is the voice in three or four words? What needs sign-off? Which channels?
59
+
60
+ ## Video / Creative Production
61
+ - **Pack:** `production`
62
+ - **Stays put:** style conventions, where brand assets live (by path, never the files), format
63
+ specs per platform.
64
+ - **Working notes:** per-project script and brief. Large files stay on disk; PAW names the path.
65
+ - **Steps:** concept, script, edit, delivery.
66
+ - **Ask:** How long is a typical project? Where does footage live? Any required intro, outro or
67
+ disclaimer?
68
+
69
+ ## Sales / Business Development
70
+ - **Pack:** `sales`
71
+ - **Stays put:** pitch structure, pricing and discount rules, what qualifies a lead, tone.
72
+ - **Working notes:** per-deal approach. Never contact or account details; those stay in the CRM.
73
+ - **Steps:** qualify, pitch, negotiate, close.
74
+ - **Ask:** What rules a lead out fast? What can never be discounted without approval?
75
+
76
+ ## Support / Operations
77
+ - **Pack:** `support` or `ops`
78
+ - **Stays put:** escalation rules, tone with upset customers, what the team can decide and what
79
+ must be handed off.
80
+ - **Working notes:** per-ticket notes. Never customer personal data.
81
+ - **Steps:** usually triage, then resolve or escalate.
82
+ - **Ask:** What must always go to a person? What response time do you promise?
83
+
84
+ ## Legal / Compliance
85
+ - **Pack:** `legal`
86
+ - **Stays put:** defined terms, required disclaimers, what can never be stated as fact without
87
+ review.
88
+ - **Working notes:** highly sensitive. Confirm before storing anything, and keep it out of any
89
+ block pasted into a web chatbot.
90
+ - **Steps:** draft, then a required human review before anything is final.
91
+ - **Ask:** What must a person always review? Which topics should never be handled unsupervised?
92
+
93
+ ## HR / People
94
+ - **Pack:** `people`
95
+ - **Stays put:** policy summaries (never HR records), tone for sensitive conversations.
96
+ - **Working notes:** keep empty by default. Most HR detail is personal data; point to the HR
97
+ system instead.
98
+ - **Steps:** none.
99
+ - **Ask:** Is there anything this pack should refuse to hold (names, health details, pay)?
100
+
101
+ ## Design
102
+ - **Pack:** `design`
103
+ - **Stays put:** where the design system lives (by path), component conventions, the
104
+ accessibility bar.
105
+ - **Working notes:** per-project brief and handoff spec.
106
+ - **Steps:** brief, concept, spec, handoff.
107
+ - **Ask:** Where does the design system live? Who approves a design as final?
108
+
109
+ ## Writing / Author
110
+ - **Pack:** `writing`
111
+ - **Stays put:** voice, style guide, continuity facts for fiction or source conventions for
112
+ nonfiction.
113
+ - **Working notes:** per-piece drafts.
114
+ - **Steps:** outline, draft, revise, final.
115
+ - **Ask:** What is the voice? Which facts must stay consistent across pieces?
116
+
117
+ ## Executive / Administration
118
+ - **Pack:** `administration`
119
+ - **Stays put:** scheduling rules (who can book, what needs confirmation before it is sent),
120
+ naming conventions, weekly and monthly routines.
121
+ - **Working notes:** per-day or per-week briefs and agendas. Never account numbers or passwords.
122
+ - **Steps:** gather, draft, send.
123
+ - **Ask:** What needs your confirmation before it is sent or booked? Any daily or weekly routine?
124
+
125
+ ---
126
+
127
+ ## Using this during the interview
128
+
129
+ 1. After the Group B questions, name the shapes in one line and let them pick, skip or describe
130
+ their own.
131
+ 2. For each role they pick, ask only that role's follow-ups.
132
+ 3. A role with sensitive-data cautions (Legal, HR, Support) means ask before writing, not skip the
133
+ pack.
134
+ 4. If their work matches nothing here, build the pack free-form. That is normal.
@@ -0,0 +1,77 @@
1
+ # Pointing other AI tools at PAW
2
+
3
+ One brain (the PAW folder), many doorways. Atomic's own bots already read PAW. This file is for
4
+ the other AI tools the person uses.
5
+
6
+ Replace `~/workspace/PAW` below with the person's PAW folder if it is somewhere else. On Windows
7
+ that is the `workspace\PAW` folder inside their home folder.
8
+
9
+ ## Which kind of doorway
10
+
11
+ - The tool reads a settings file when it starts (command-line tools): give it a thin pointer file.
12
+ - The tool is a web or app chatbot that cannot read files: give the person a block to paste.
13
+
14
+ ## Command-line tools
15
+
16
+ Atomic can write the Claude Code and Codex pointers itself, backing up any file already there.
17
+ Use that for those two. For the others, write the file only after the person approves the exact
18
+ file and location, or walk them through saving it.
19
+
20
+ | Tool | File | Folder |
21
+ |------|------|--------|
22
+ | Claude Code | `CLAUDE.md` | `~/.claude/` |
23
+ | Codex | `AGENTS.md` | `~/.codex/` |
24
+ | Gemini CLI | `GEMINI.md` | `~/.gemini/` |
25
+ | Hermes | `SOUL.md` | `~/.hermes/` |
26
+ | OpenClaw | `SOUL.md` | `~/.openclaw/workspace/` |
27
+
28
+ These folders move between versions. Check the tool's own documentation before naming a path.
29
+ If a file is already there, show the person what it holds and add the pointer to it; never
30
+ replace their file without a clear yes.
31
+
32
+ Cursor has no settings file of this kind: paste the pointer text into its User Rules setting.
33
+
34
+ OpenClaw's `AGENTS.md` is its operating manual, not an identity file. Leave it in place and add a
35
+ short note at the top that points to `SOUL.md` and the PAW folder.
36
+
37
+ ### Thin pointer format
38
+
39
+ ```markdown
40
+ # [CLAUDE/AGENTS/GEMINI/SOUL].md: [NAME] (pointer)
41
+
42
+ I'm [NAME], [ROLE]. [One line on who they are and their company.]
43
+
44
+ ## Source of truth: read this first
45
+ My full context lives in my Personal AI Workspace (PAW). Read before non-trivial work:
46
+ - `~/workspace/PAW/CLAUDE.md`: the rules for using this workspace
47
+ - `~/workspace/PAW/CONTEXT.md`: what is in it and where
48
+ - `~/workspace/PAW/paw.yaml`: which files to load for which kind of job
49
+ - `~/workspace/PAW/me/about-me.md`: who I am and how I work
50
+ Never open `~/workspace/PAW/me/personal/` for company work.
51
+ In a project folder, that project's own instructions win for project detail.
52
+
53
+ ## Non-negotiables (safety net; the full set is in `org/policies/`)
54
+ - [Up to 5 of their most important hard rules]
55
+ ```
56
+
57
+ Why thin: the person edits PAW once and every tool picks it up next session. The few rules written
58
+ inline are a safety net for a moment when the tool cannot reach the folder.
59
+
60
+ ## Web and app chatbots (paste-in)
61
+
62
+ ChatGPT, Claude.ai, the Gemini app, Perplexity. They cannot read files, so write paste blocks and
63
+ save them under `me/wiring/` (for example `me/wiring/for-chatgpt.md`):
64
+
65
+ - Tools with two boxes: box 1 is "what to know about me" (identity, company, key facts). Box 2 is
66
+ "how to respond" (tone, hard rules, formatting). Keep each under about 1,500 characters.
67
+ - Tools with one box: one combined block.
68
+
69
+ A paste block carries only what the person is fine sharing with that company. Never include
70
+ anything from `me/personal/`, and never anything on the secrets list.
71
+
72
+ Tell the person plainly: these are copies, not live links. When a rule changes in PAW, they paste
73
+ the block again.
74
+
75
+ ## A model called directly through an API
76
+
77
+ There is no settings file. The context goes into the system prompt of the app that calls the model.
@@ -1 +0,0 @@
1
- import{U as a,C as n}from"./mermaid.core-BekbnuLb.js";const t=(r,o)=>a.lang.round(n.parse(r)[o]);export{t as c};