va-claw 0.1.2 → 0.1.4

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 (57) hide show
  1. package/README.md +134 -0
  2. package/README.zh-CN.md +478 -0
  3. package/dist/va-claw-bundle.mjs +561 -64
  4. package/docs/comic.svg +264 -0
  5. package/docs/releases/v0.1.3.md +20 -0
  6. package/index.html +269 -8
  7. package/package.json +1 -1
  8. package/packages/cli/dist/.tsbuildinfo +1 -1
  9. package/packages/cli/dist/claw-store.d.ts +38 -0
  10. package/packages/cli/dist/claw-store.d.ts.map +1 -0
  11. package/packages/cli/dist/claw-store.js +139 -0
  12. package/packages/cli/dist/claw-store.js.map +1 -0
  13. package/packages/cli/dist/deps.d.ts.map +1 -1
  14. package/packages/cli/dist/deps.js +2 -1
  15. package/packages/cli/dist/deps.js.map +1 -1
  16. package/packages/cli/dist/handlers.d.ts +20 -0
  17. package/packages/cli/dist/handlers.d.ts.map +1 -1
  18. package/packages/cli/dist/handlers.js +148 -1
  19. package/packages/cli/dist/handlers.js.map +1 -1
  20. package/packages/cli/dist/index.d.ts +2 -2
  21. package/packages/cli/dist/index.d.ts.map +1 -1
  22. package/packages/cli/dist/index.js +2 -2
  23. package/packages/cli/dist/index.js.map +1 -1
  24. package/packages/cli/dist/install-files.d.ts +1 -0
  25. package/packages/cli/dist/install-files.d.ts.map +1 -1
  26. package/packages/cli/dist/install-files.js +3 -0
  27. package/packages/cli/dist/install-files.js.map +1 -1
  28. package/packages/cli/dist/output.d.ts +2 -0
  29. package/packages/cli/dist/output.d.ts.map +1 -1
  30. package/packages/cli/dist/output.js +21 -0
  31. package/packages/cli/dist/output.js.map +1 -1
  32. package/packages/cli/dist/program.d.ts.map +1 -1
  33. package/packages/cli/dist/program.js +40 -1
  34. package/packages/cli/dist/program.js.map +1 -1
  35. package/packages/cli/dist/test-helpers.d.ts.map +1 -1
  36. package/packages/cli/dist/test-helpers.js +1 -0
  37. package/packages/cli/dist/test-helpers.js.map +1 -1
  38. package/packages/cli/dist/types.d.ts +1 -0
  39. package/packages/cli/dist/types.d.ts.map +1 -1
  40. package/packages/daemon/dist/.tsbuildinfo +1 -1
  41. package/packages/daemon/dist/wake-cycle.d.ts +19 -2
  42. package/packages/daemon/dist/wake-cycle.d.ts.map +1 -1
  43. package/packages/daemon/dist/wake-cycle.js +209 -30
  44. package/packages/daemon/dist/wake-cycle.js.map +1 -1
  45. package/packages/identity/dist/.tsbuildinfo +1 -1
  46. package/packages/identity/dist/defaults.d.ts +1 -0
  47. package/packages/identity/dist/defaults.d.ts.map +1 -1
  48. package/packages/identity/dist/defaults.js +6 -0
  49. package/packages/identity/dist/defaults.js.map +1 -1
  50. package/packages/identity/dist/render.d.ts.map +1 -1
  51. package/packages/identity/dist/render.js +15 -0
  52. package/packages/identity/dist/render.js.map +1 -1
  53. package/packages/identity/dist/types.d.ts +1 -0
  54. package/packages/identity/dist/types.d.ts.map +1 -1
  55. package/skills/claw-fleet-protocol.md +58 -0
  56. package/skills/install-va-claw.md +4 -0
  57. package/skills/migrate-to-va-claw.md +141 -0
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.full.d.ts","../../daemon/dist/cli-adapter.d.ts","../../identity/dist/types.d.ts","../../identity/dist/path.d.ts","../../identity/dist/storage.d.ts","../../identity/dist/render.d.ts","../../identity/dist/wizard.d.ts","../../identity/dist/index.d.ts","../../daemon/dist/types.d.ts","../../daemon/dist/runtime.d.ts","../../daemon/dist/service.d.ts","../../daemon/dist/index.d.ts","../../memory/dist/types.d.ts","../../memory/dist/memory-store.d.ts","../../memory/dist/default-store.d.ts","../../memory/dist/forgetting-curve.d.ts","../../memory/dist/index.d.ts","../../skills/dist/types.d.ts","../../skills/dist/frontmatter.d.ts","../../skills/dist/paths.d.ts","../../skills/dist/search.d.ts","../../skills/dist/store.d.ts","../../skills/dist/index.d.ts","../src/output.ts","../../channels/discord/dist/types.d.ts","../../channels/discord/dist/runtime.d.ts","../../channels/discord/dist/index.d.ts","../../../node_modules/.pnpm/@slack+bolt@file+vendor+slack-bolt/node_modules/@slack/bolt/index.d.ts","../../channels/slack/dist/types.d.ts","../../channels/slack/dist/message.d.ts","../../channels/slack/dist/cli.d.ts","../../channels/slack/dist/index.d.ts","../../../node_modules/.pnpm/grammy@file+vendor+grammy/node_modules/grammy/index.d.ts","../../channels/telegram/dist/types.d.ts","../../channels/telegram/dist/message.d.ts","../../channels/telegram/dist/cli.d.ts","../../channels/telegram/dist/index.d.ts","../../channels/dist/index.d.ts","../src/types.ts","../src/wait.ts","../src/channel-handlers.ts","../../../node_modules/.pnpm/commander@file+vendor+commander/node_modules/commander/index.d.ts","../src/deps-exports.ts","../src/install-files.ts","../src/deps.ts","../src/memory-status.ts","../src/platform.ts","../src/handlers.ts","../src/program.ts","../src/test-helpers.ts","../src/channel.test.ts","../src/index.ts","../src/install.test.ts","../src/node-shims.d.ts","../src/program.test.ts","../src/status.test.ts","../src/bin/va-claw.mts"],"fileIdsList":[[87,88],[87],[70,89,94,99],[91],[91,92,93],[90,91],[90],[96,116],[96,97,98],[95,96],[95],[114],[74,86,101,102],[111,112,116],[70,74],[79,85,101,105,106,116],[86,101,102,106,108,109],[86,101,103,106,107,108,109,110,111],[101,116],[116],[79,85],[74,101,116],[101,103,104,107,110],[74,79,85,101,107,116],[74,79,85,100],[64,71,72,73],[71],[70],[65,66,67,68,69],[65],[75,76],[75,76,77,78],[75],[80],[80,81,82,83,84]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"9a8fe5579089e53ca02b72e9eaf63dddc327a90f6ad386bf67d160aa4b40eb54","impliedFormat":99},{"version":"c482a05324bdb183855141754506b813194543afd068d934f4797c4a0299c67a","impliedFormat":99},{"version":"0c97e331361352bccfa2d24e2e46625953a190534cf16e8e566b9a84e07b12ff","impliedFormat":99},{"version":"7fbec62b38299205ec520f27fc18ab5315733001fb166a2523f32bd856fafea8","impliedFormat":99},{"version":"7c5ed18df40661edfa1151e3002efde32b1cdf16818ba650fc1b55427274b020","impliedFormat":99},{"version":"184e07268b0c62bc9585ef90c2fb3971dd033e9a9d6b857768ecd5417a92d8ab","impliedFormat":99},{"version":"fe19936f3b0e52495d441d5de9b5b00acb8816cd8d9db7523dd388dc9978ff3b","impliedFormat":99},{"version":"b7b187dabcced7b1b0ff443ce65ab334cec0cebe177f42fbb049852660e85d91","impliedFormat":99},{"version":"3f50eb2387269096a4bbf8d14acb44eeba45c0a1004a066b377f8a2f355d0602","impliedFormat":99},{"version":"e3d37c73f00588d90a161cc3f92883fd983a5d362662bdbc0806e2b7217a5460","impliedFormat":99},{"version":"37c109122af17ca1520cae25912ca61aef54369a4792f736cff1f76ce575cc5f","impliedFormat":99},{"version":"17ed98c133e426c904a470318d1cd3a970d5e7e10fc8262a7c8879d8e748fe7d","impliedFormat":99},{"version":"0c944fc206e434588cad7f546e11542a01182aee7681624c146c8dd102aa9879","impliedFormat":99},{"version":"af244f92632e7736314e31d4f5151f07de5290528234ae4e12d9883e3bb78d8a","impliedFormat":99},{"version":"1b2024e488b72586da4f688c17f45a59fb661b22e1fd638bf0f07315ef3578a7","impliedFormat":99},{"version":"fac607f987cccf61a1939a414605b589c2dabc97c6b471f0d70c099b57991ed6","impliedFormat":99},{"version":"a7e24482fe91c3f8ee714141e552ec46da00129f405dc05172a467560171c8ba","impliedFormat":99},{"version":"1be3b35db0b3cc52c6ddbb0856d8bfefafcab55da493bd3a9baa1c11ea0aeac0","impliedFormat":99},{"version":"caaebf12b13b193a309b7e8b7d4a89b98e7f9443c2d6d43c05deb638a0794d41","impliedFormat":99},{"version":"cf987a22822823e5c4e5302c2008278f43de9510a59d0f1db1ca4bd69536c163","impliedFormat":99},{"version":"e576d668e2144c66277fd699ba021651e295acee67536dd9221213635de3c8f7","impliedFormat":99},{"version":"fa8bbdfa2d8652b546fbce728339f5c0ab018fad464ad67ee139c4f696b221bd","impliedFormat":99},{"version":"70f5d518f59953a68caad026587461c3457e41b917ca05e38a6065079a301a99","signature":"04ff5ed7e3ccf296fd2958eb338872e278a5a6e711e05d9cd96f72975deff652","impliedFormat":99},{"version":"cd209d521442f7935c05fa50cb7425a1d0ccc23e3542f1b09170605816a98f58","impliedFormat":99},{"version":"807e9c4a709269a7d361116b1217314016ab41d08742c3ebb6b6c5c8ede01feb","impliedFormat":99},{"version":"f4c952fa3af38c1877b21ca24d4d72877c05321030232e2a28f728a908ddc299","impliedFormat":99},{"version":"8cf25cddead8fb22e058aab944d4219414e6ca3d4fa5ec552804e3bfb0d54340","impliedFormat":99},{"version":"40086e5894444e5c648031cfb90d570acdf7a263b5747d1f822d3ee93f39bc82","impliedFormat":99},{"version":"efa66190d479f7dc16aee05d6a204bff6afb652e89d6c3e9f7744708996b6eaf","impliedFormat":99},{"version":"cacad4d33344acbf519310a3705bfba4d6bb27f0b69803b540c2afaead3e051c","impliedFormat":99},{"version":"a9e3fec728f35a727d4664d3573c30f3216f9dfc3c1c66f9652b6aa52f5d1784","impliedFormat":99},{"version":"e5d4ba0f91f9e4b1a6585cd3f8abb98ada1451636ecb1241e89ad791032c5701","impliedFormat":99},{"version":"bdc3309b437bcde30201fe9171a1a13674b7b2715d8d17822384d6569f628d86","impliedFormat":99},{"version":"689f94b862e0b8c55388f9f928c5509c9208b2229bd4d11f3e01c6fbc364a16f","impliedFormat":99},{"version":"61e3dbca3d14350fc2ec978e372036214d1d718ffb6679a6df0c2b1f1d5fdb95","impliedFormat":99},{"version":"1d2d5994bab19d84725b9b038be127a7d976c0a3f439f86273d32b6b7e9ed925","impliedFormat":99},{"version":"aa0c14112c392105bd85af1f5e46602be479d81302fb18e5d9ca1bad2928686b","impliedFormat":99},{"version":"8b018a5a4e0e3e3069ece573360d6a63fe1ae2fc5078a387ef0be97d6f96b138","signature":"673e6f305382d3bdd906291bfc891cb972809b0ca4553027fc2a54ec78f6dec3","impliedFormat":99},{"version":"fd4f3224de8adad2473b996989e4118200243aa4da1b8bdcdc2ace341e1ac0d2","signature":"0bf87e3b0657ac15c3cb7ffde7c1a46da50c873939a198170a7ff8d69fa0605b","impliedFormat":99},{"version":"8c20ec5e9eca09acc9ac89671bce8984450fed83163e795ff38da10b49059139","signature":"7d27b387e56a6b5b44ee17c28e53c7da02dd7e12ce0fa0ee345fd542e003cda4","impliedFormat":99},{"version":"274bb858881a6bb256e90d521c2af6528669f8217bb8015b07f68a4270df585a","impliedFormat":99},{"version":"769454a6085be589f1b572aa001dd91cf44e870e6a643b756768c0d5389fe553","signature":"150790343c1ae6c5358c658ed5291d075fc1464f9215cfc7228546af63cdc0b5","impliedFormat":99},{"version":"1f29aafeb40a2e493d1691354d009481928928d99131db83a6928b80e461442b","signature":"4d217500d0f64749fa2e0863b36fc66dbcc07858fb496864c399acb45fd43ab3","impliedFormat":99},{"version":"1e69e403f8d3b714a2a8b7485ca66be70f561dba85a4c319b0fec67762696776","signature":"46d1206f91056b2b38e82b69fa35ac2938c658774870f558b547df01ee3c06a3","impliedFormat":99},{"version":"906b729fe73bcf980b37339f24acfff52992f37428bb0dad4500e9525fa99a4e","signature":"b5aa395c3e4b60c85efbfc35045949d25320731c85e7ad13066f1507dfb78970","impliedFormat":99},{"version":"c7978b0988a8cb873dde1083c62c2d37cffddd919843fac0513cd823ba7f46c3","signature":"e47c786151590a097f1bcf3a6a5dcf12551610d95ef5d01d026255d0fc8053d2","impliedFormat":99},{"version":"26eb8d4e07cb3503f35d6f768d836ca5aeb840e58407888189e4986ec1a38f63","signature":"86bd85161d5e05ca053ec437910b1b110bf61604f24fc89b38ff992130adb0fe","impliedFormat":99},{"version":"21562e9c30697c8d69596f45fee9e92f78ec6f442f117a2dd58a3c2cb8013617","signature":"5e70adf3b4674ff195dfe85c27adab3e98c7cc23f9d429d0b660af4a63844f36","impliedFormat":99},{"version":"10caf49074cd091c816fdf55aa30c37733ed88b8efbe108ef10919c96c1fb88d","signature":"8d9cf5c341750a130826062da1c7de0106dfa12a03ec3bb2956c97ff7eb0f899","impliedFormat":99},{"version":"927f076313bc1e8e30a669437c4d7fb8471556517b6a5a7dedd319092046c000","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"5bca8bb637345ee45f08062a47984eba3834b8cb066c17cb6f040338939b2c7f","signature":"c7a52dedfeb79247b66876ae69b7c4c2dead9c73bc07fcc173ec69f44ab20894","impliedFormat":99},{"version":"5023f722ae51b2ef368c9b6fe67ed54202f7af1e9f92cd4be9a85e456b95398f","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"c393a5018d68ee7a4df3456a0713c7adbb3879493f31d14147377266cd4af681","affectsGlobalScope":true,"impliedFormat":99},{"version":"ec9d1213e89d727711f697d156a60b4d201b083c289bbb3a0cc8769c0007dc98","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"1feb3afb1188fac07959c9d5727cdd6f816e41447ce7111c64859f1fdddfefb8","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"bd616dd37494b3a981faab5c5fcbb98d7809d833a3bd9936fa53c6ac7da721ae","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012","impliedFormat":99}],"root":[86,[101,103],[105,119]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"noEmitOnError":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[89,1],[88,2],[100,3],[93,4],[94,5],[92,6],[91,7],[98,8],[99,9],[97,10],[96,11],[119,12],[103,13],[113,14],[105,15],[107,16],[110,17],[114,18],[106,19],[115,14],[108,20],[86,21],[109,22],[117,14],[111,23],[118,14],[112,24],[101,25],[74,26],[72,27],[73,27],[71,28],[70,29],[68,30],[67,30],[69,30],[77,31],[79,32],[76,33],[81,34],[85,35],[83,34],[84,34]],"latestChangedDtsFile":"./types.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@file+vendor+typescript/node_modules/typescript/lib/lib.es2022.full.d.ts","../../daemon/dist/cli-adapter.d.ts","../../identity/dist/types.d.ts","../../identity/dist/path.d.ts","../../identity/dist/storage.d.ts","../../identity/dist/render.d.ts","../../identity/dist/wizard.d.ts","../../identity/dist/index.d.ts","../../daemon/dist/types.d.ts","../../daemon/dist/runtime.d.ts","../../daemon/dist/service.d.ts","../../daemon/dist/index.d.ts","../../memory/dist/types.d.ts","../../memory/dist/memory-store.d.ts","../../memory/dist/default-store.d.ts","../../memory/dist/forgetting-curve.d.ts","../../memory/dist/index.d.ts","../../skills/dist/types.d.ts","../../skills/dist/frontmatter.d.ts","../../skills/dist/paths.d.ts","../../skills/dist/search.d.ts","../../skills/dist/store.d.ts","../../skills/dist/index.d.ts","../src/claw-store.ts","../src/output.ts","../../channels/discord/dist/types.d.ts","../../channels/discord/dist/runtime.d.ts","../../channels/discord/dist/index.d.ts","../../../node_modules/.pnpm/@slack+bolt@file+vendor+slack-bolt/node_modules/@slack/bolt/index.d.ts","../../channels/slack/dist/types.d.ts","../../channels/slack/dist/message.d.ts","../../channels/slack/dist/cli.d.ts","../../channels/slack/dist/index.d.ts","../../../node_modules/.pnpm/grammy@file+vendor+grammy/node_modules/grammy/index.d.ts","../../channels/telegram/dist/types.d.ts","../../channels/telegram/dist/message.d.ts","../../channels/telegram/dist/cli.d.ts","../../channels/telegram/dist/index.d.ts","../../channels/dist/index.d.ts","../src/types.ts","../src/wait.ts","../src/channel-handlers.ts","../../../node_modules/.pnpm/commander@file+vendor+commander/node_modules/commander/index.d.ts","../src/deps-exports.ts","../src/install-files.ts","../src/deps.ts","../src/memory-status.ts","../src/platform.ts","../src/handlers.ts","../src/program.ts","../src/test-helpers.ts","../src/channel.test.ts","../src/claw-store.test.ts","../src/index.ts","../src/install.test.ts","../src/node-shims.d.ts","../src/program.test.ts","../src/status.test.ts","../src/bin/va-claw.mts"],"fileIdsList":[[88,89],[88],[70,90,95,100],[92],[92,93,94],[91,92],[91],[97,118],[97,98,99],[96,97],[96],[116],[74,87,102,103],[112,113,118],[86,118],[118],[70,74],[79,85,102,106,107,118],[86,87,102,103,107,109,110],[87,102,104,107,108,109,110,111,112],[102,118],[79,85,86],[74,102,118],[102,104,105,108,111],[74,79,85,102,108,118],[74,79,85,101],[64,71,72,73],[71],[70],[65,66,67,68,69],[65],[75,76],[75,76,77,78],[75],[80],[80,81,82,83,84]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"9a8fe5579089e53ca02b72e9eaf63dddc327a90f6ad386bf67d160aa4b40eb54","impliedFormat":99},{"version":"df5420544d0ae454f2938eff54e03d34383c1e2c8a1c964fcd21028f491ac285","impliedFormat":99},{"version":"0c97e331361352bccfa2d24e2e46625953a190534cf16e8e566b9a84e07b12ff","impliedFormat":99},{"version":"7fbec62b38299205ec520f27fc18ab5315733001fb166a2523f32bd856fafea8","impliedFormat":99},{"version":"7c5ed18df40661edfa1151e3002efde32b1cdf16818ba650fc1b55427274b020","impliedFormat":99},{"version":"184e07268b0c62bc9585ef90c2fb3971dd033e9a9d6b857768ecd5417a92d8ab","impliedFormat":99},{"version":"fe19936f3b0e52495d441d5de9b5b00acb8816cd8d9db7523dd388dc9978ff3b","impliedFormat":99},{"version":"b7b187dabcced7b1b0ff443ce65ab334cec0cebe177f42fbb049852660e85d91","impliedFormat":99},{"version":"3f50eb2387269096a4bbf8d14acb44eeba45c0a1004a066b377f8a2f355d0602","impliedFormat":99},{"version":"e3d37c73f00588d90a161cc3f92883fd983a5d362662bdbc0806e2b7217a5460","impliedFormat":99},{"version":"37c109122af17ca1520cae25912ca61aef54369a4792f736cff1f76ce575cc5f","impliedFormat":99},{"version":"17ed98c133e426c904a470318d1cd3a970d5e7e10fc8262a7c8879d8e748fe7d","impliedFormat":99},{"version":"0c944fc206e434588cad7f546e11542a01182aee7681624c146c8dd102aa9879","impliedFormat":99},{"version":"af244f92632e7736314e31d4f5151f07de5290528234ae4e12d9883e3bb78d8a","impliedFormat":99},{"version":"1b2024e488b72586da4f688c17f45a59fb661b22e1fd638bf0f07315ef3578a7","impliedFormat":99},{"version":"fac607f987cccf61a1939a414605b589c2dabc97c6b471f0d70c099b57991ed6","impliedFormat":99},{"version":"a7e24482fe91c3f8ee714141e552ec46da00129f405dc05172a467560171c8ba","impliedFormat":99},{"version":"1be3b35db0b3cc52c6ddbb0856d8bfefafcab55da493bd3a9baa1c11ea0aeac0","impliedFormat":99},{"version":"caaebf12b13b193a309b7e8b7d4a89b98e7f9443c2d6d43c05deb638a0794d41","impliedFormat":99},{"version":"cf987a22822823e5c4e5302c2008278f43de9510a59d0f1db1ca4bd69536c163","impliedFormat":99},{"version":"e576d668e2144c66277fd699ba021651e295acee67536dd9221213635de3c8f7","impliedFormat":99},{"version":"fa8bbdfa2d8652b546fbce728339f5c0ab018fad464ad67ee139c4f696b221bd","impliedFormat":99},{"version":"35d511d99a7217dffdb7d586b51bfab45778a81191b3aeeeab6b490208327589","signature":"774a71f133fd702910ce719ce7b527c7220718f7d73ea498620178bcd58b897b","impliedFormat":99},{"version":"bad98d233425fa4ceab24c9edf9f766fa9c463a9a81d1b1a2cc9e3022bd83c97","signature":"29cd47ab93681e73edd2e03efefa6ce72731ecb3e3cae0b6d271f1429eca1b3a","impliedFormat":99},{"version":"cd209d521442f7935c05fa50cb7425a1d0ccc23e3542f1b09170605816a98f58","impliedFormat":99},{"version":"807e9c4a709269a7d361116b1217314016ab41d08742c3ebb6b6c5c8ede01feb","impliedFormat":99},{"version":"f4c952fa3af38c1877b21ca24d4d72877c05321030232e2a28f728a908ddc299","impliedFormat":99},{"version":"8cf25cddead8fb22e058aab944d4219414e6ca3d4fa5ec552804e3bfb0d54340","impliedFormat":99},{"version":"40086e5894444e5c648031cfb90d570acdf7a263b5747d1f822d3ee93f39bc82","impliedFormat":99},{"version":"efa66190d479f7dc16aee05d6a204bff6afb652e89d6c3e9f7744708996b6eaf","impliedFormat":99},{"version":"cacad4d33344acbf519310a3705bfba4d6bb27f0b69803b540c2afaead3e051c","impliedFormat":99},{"version":"a9e3fec728f35a727d4664d3573c30f3216f9dfc3c1c66f9652b6aa52f5d1784","impliedFormat":99},{"version":"e5d4ba0f91f9e4b1a6585cd3f8abb98ada1451636ecb1241e89ad791032c5701","impliedFormat":99},{"version":"bdc3309b437bcde30201fe9171a1a13674b7b2715d8d17822384d6569f628d86","impliedFormat":99},{"version":"689f94b862e0b8c55388f9f928c5509c9208b2229bd4d11f3e01c6fbc364a16f","impliedFormat":99},{"version":"61e3dbca3d14350fc2ec978e372036214d1d718ffb6679a6df0c2b1f1d5fdb95","impliedFormat":99},{"version":"1d2d5994bab19d84725b9b038be127a7d976c0a3f439f86273d32b6b7e9ed925","impliedFormat":99},{"version":"aa0c14112c392105bd85af1f5e46602be479d81302fb18e5d9ca1bad2928686b","impliedFormat":99},{"version":"c1f9234addc73e4e2f3d69226ebe091dcff86ef9a0ce67ea53c3224e1bcef84f","signature":"743d87a0356cb58623fd43fb3261f81031c19175ebcbed4c7af08ac06d85f414","impliedFormat":99},{"version":"fd4f3224de8adad2473b996989e4118200243aa4da1b8bdcdc2ace341e1ac0d2","signature":"0bf87e3b0657ac15c3cb7ffde7c1a46da50c873939a198170a7ff8d69fa0605b","impliedFormat":99},{"version":"8c20ec5e9eca09acc9ac89671bce8984450fed83163e795ff38da10b49059139","signature":"7d27b387e56a6b5b44ee17c28e53c7da02dd7e12ce0fa0ee345fd542e003cda4","impliedFormat":99},{"version":"274bb858881a6bb256e90d521c2af6528669f8217bb8015b07f68a4270df585a","impliedFormat":99},{"version":"769454a6085be589f1b572aa001dd91cf44e870e6a643b756768c0d5389fe553","signature":"150790343c1ae6c5358c658ed5291d075fc1464f9215cfc7228546af63cdc0b5","impliedFormat":99},{"version":"585926f715ebac47a8107ab2479b01d3dd2dd4548c06eb1893bba65731a980ab","signature":"6f67244d1470b7d9f52048fb45b65c5ccfa55123e7780fbdda53bf7b2ce16066","impliedFormat":99},{"version":"08d35280c92e35aa897d87aeb7a6139e1d5ea72a077eca569732d98d73569e49","signature":"46d1206f91056b2b38e82b69fa35ac2938c658774870f558b547df01ee3c06a3","impliedFormat":99},{"version":"906b729fe73bcf980b37339f24acfff52992f37428bb0dad4500e9525fa99a4e","signature":"b5aa395c3e4b60c85efbfc35045949d25320731c85e7ad13066f1507dfb78970","impliedFormat":99},{"version":"c7978b0988a8cb873dde1083c62c2d37cffddd919843fac0513cd823ba7f46c3","signature":"e47c786151590a097f1bcf3a6a5dcf12551610d95ef5d01d026255d0fc8053d2","impliedFormat":99},{"version":"d81dac8cde92255efe31aa29dfb98891e2a078f855ac2ead8195f26a3236968c","signature":"40003e889e61267513d01ce8a6d7c4a84c0fad3ba65f0d8cd3ae624fc030c059","impliedFormat":99},{"version":"3e5ccb84e5f8623a26035aef79a12c59a865c9af2164fd251d1cbc28a70cbf95","signature":"5e70adf3b4674ff195dfe85c27adab3e98c7cc23f9d429d0b660af4a63844f36","impliedFormat":99},{"version":"0b0b77fee09f528480ef1333173303b40f1f5d515f7e33084f4e3fccc8fb0537","signature":"8d9cf5c341750a130826062da1c7de0106dfa12a03ec3bb2956c97ff7eb0f899","impliedFormat":99},{"version":"927f076313bc1e8e30a669437c4d7fb8471556517b6a5a7dedd319092046c000","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"c44aaee22900d39928b1c561e13c35a9b47bda0fdb8ead18b28bb99ca436c577","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"9117a57547d9e4a4806196d4f924514729be1f42197339166aa021ef64d0db0d","signature":"f2ed461f57be90dc357fc5f540b0df18a08ba9bc1afbbcd630e3e64686f90946","impliedFormat":99},{"version":"5023f722ae51b2ef368c9b6fe67ed54202f7af1e9f92cd4be9a85e456b95398f","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"d06a2001cd5c0ec0eeac45e16d2f2429c117a5109560ed68ec54e009a4ba2cb5","affectsGlobalScope":true,"impliedFormat":99},{"version":"b0ae56c82b8c8897e4addfa2122ccd0b5470265051e4c9814c2a267b73e0c7c9","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"1feb3afb1188fac07959c9d5727cdd6f816e41447ce7111c64859f1fdddfefb8","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"bd616dd37494b3a981faab5c5fcbb98d7809d833a3bd9936fa53c6ac7da721ae","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012","impliedFormat":99}],"root":[86,87,[102,104],[106,121]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"noEmitOnError":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[90,1],[89,2],[101,3],[94,4],[95,5],[93,6],[92,7],[99,8],[100,9],[98,10],[97,11],[121,12],[104,13],[114,14],[115,15],[86,16],[106,17],[108,18],[111,19],[116,20],[107,21],[117,14],[109,16],[87,22],[110,23],[119,14],[112,24],[120,14],[113,25],[102,26],[74,27],[72,28],[73,28],[71,29],[70,30],[68,31],[67,31],[69,31],[77,32],[79,33],[76,34],[81,35],[85,36],[83,35],[84,35]],"latestChangedDtsFile":"./types.d.ts","version":"5.9.3"}
@@ -0,0 +1,38 @@
1
+ export type ClawStatus = "running" | "working" | "idle" | "waiting" | "error" | "offline" | "stopped";
2
+ export type ClawDefinition = {
3
+ name: string;
4
+ goal: string;
5
+ status: ClawStatus;
6
+ cliCommand: string;
7
+ note: string;
8
+ tags: string[];
9
+ lastSeenAt?: string;
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ };
13
+ export type ClawCreateInput = {
14
+ name: string;
15
+ goal?: string;
16
+ status?: ClawStatus;
17
+ cliCommand?: string;
18
+ note?: string;
19
+ tags?: string[];
20
+ };
21
+ export type ClawUpdateInput = {
22
+ goal?: string;
23
+ status?: ClawStatus;
24
+ cliCommand?: string;
25
+ note?: string;
26
+ tags?: string[];
27
+ seen?: boolean;
28
+ };
29
+ type NowFn = () => Date;
30
+ export declare function isClawStatus(value: string | undefined): value is ClawStatus;
31
+ export declare function validateClawStatus(value: unknown): ClawStatus | null;
32
+ export declare function listClaws(registryPath: string): Promise<ClawDefinition[]>;
33
+ export declare function getClaw(registryPath: string, name: string): Promise<ClawDefinition | undefined>;
34
+ export declare function registerClaw(registryPath: string, input: ClawCreateInput, now?: NowFn): Promise<ClawDefinition>;
35
+ export declare function updateClaw(registryPath: string, name: string, updates: ClawUpdateInput, now?: NowFn): Promise<ClawDefinition | null>;
36
+ export declare function removeClaw(registryPath: string, name: string): Promise<boolean>;
37
+ export {};
38
+ //# sourceMappingURL=claw-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claw-store.d.ts","sourceRoot":"","sources":["../src/claw-store.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtG,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MA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C,OAAO,CAAC,CASrF"}
@@ -0,0 +1,139 @@
1
+ import { mkdir, readFile, writeFile } from "node:fs/promises";
2
+ import { dirname } from "node:path";
3
+ const DEFAULT_CLAW_STATUS = "idle";
4
+ const KNOWN_STATUSES = new Set(["running", "working", "idle", "waiting", "error", "offline", "stopped"]);
5
+ const REGISTRY_VERSION = 1;
6
+ const DEFAULT_NOW = () => new Date();
7
+ export function isClawStatus(value) {
8
+ return KNOWN_STATUSES.has(value ?? "");
9
+ }
10
+ function pickString(value, fallback = "") {
11
+ return typeof value === "string" ? value.trim() : fallback;
12
+ }
13
+ function pickTags(value) {
14
+ if (!Array.isArray(value)) {
15
+ return [];
16
+ }
17
+ return value
18
+ .map((entry) => (typeof entry === "string" ? entry.trim() : ""))
19
+ .filter((entry) => entry.length > 0);
20
+ }
21
+ function normalizeStatus(value) {
22
+ return isClawStatus(typeof value === "string" ? value : undefined) ? value : DEFAULT_CLAW_STATUS;
23
+ }
24
+ export function validateClawStatus(value) {
25
+ if (typeof value !== "string") {
26
+ return null;
27
+ }
28
+ const normalized = value.trim().toLowerCase();
29
+ return isClawStatus(normalized) ? normalized : null;
30
+ }
31
+ function normalizeClawDefinition(raw) {
32
+ if (!raw || typeof raw !== "object") {
33
+ return null;
34
+ }
35
+ const name = pickString(Reflect.get(raw, "name"));
36
+ if (name === "") {
37
+ return null;
38
+ }
39
+ const createdAt = pickString(Reflect.get(raw, "createdAt"), new Date(0).toISOString());
40
+ const updatedAt = pickString(Reflect.get(raw, "updatedAt"), createdAt);
41
+ return {
42
+ name,
43
+ goal: pickString(Reflect.get(raw, "goal")),
44
+ status: normalizeStatus(Reflect.get(raw, "status")),
45
+ cliCommand: pickString(Reflect.get(raw, "cliCommand"), "va-claw"),
46
+ note: pickString(Reflect.get(raw, "note")),
47
+ tags: pickTags(Reflect.get(raw, "tags")),
48
+ lastSeenAt: pickString(Reflect.get(raw, "lastSeenAt"), "").trim() || undefined,
49
+ createdAt,
50
+ updatedAt,
51
+ };
52
+ }
53
+ function normalizeClawRegistry(raw) {
54
+ if (!raw || typeof raw !== "object") {
55
+ return { version: REGISTRY_VERSION, claws: [] };
56
+ }
57
+ const version = typeof Reflect.get(raw, "version") === "number" ? Reflect.get(raw, "version") : REGISTRY_VERSION;
58
+ const rawClaws = Reflect.get(raw, "claws");
59
+ const claws = Array.isArray(rawClaws) ? rawClaws.map(normalizeClawDefinition).filter(Boolean) : [];
60
+ return { version: Number(version) > 0 ? Number(version) : REGISTRY_VERSION, claws };
61
+ }
62
+ export async function listClaws(registryPath) {
63
+ const registry = await loadClawRegistry(registryPath);
64
+ return [...registry.claws];
65
+ }
66
+ export async function getClaw(registryPath, name) {
67
+ const registry = await loadClawRegistry(registryPath);
68
+ return registry.claws.find((entry) => entry.name === name);
69
+ }
70
+ export async function registerClaw(registryPath, input, now = DEFAULT_NOW) {
71
+ const registry = await loadClawRegistry(registryPath);
72
+ const exists = registry.claws.some((entry) => entry.name === input.name);
73
+ if (exists) {
74
+ throw new Error(`Claw already exists: ${input.name}`);
75
+ }
76
+ const timestamp = now().toISOString();
77
+ const claw = {
78
+ name: input.name,
79
+ goal: pickString(input.goal),
80
+ status: input.status ?? DEFAULT_CLAW_STATUS,
81
+ cliCommand: pickString(input.cliCommand, "va-claw"),
82
+ note: pickString(input.note),
83
+ tags: Array.isArray(input.tags) ? input.tags.filter((tag) => tag.trim() !== "") : [],
84
+ createdAt: timestamp,
85
+ updatedAt: timestamp,
86
+ };
87
+ registry.claws = [claw, ...registry.claws];
88
+ await saveClawRegistry(registryPath, registry);
89
+ return claw;
90
+ }
91
+ export async function updateClaw(registryPath, name, updates, now = DEFAULT_NOW) {
92
+ const registry = await loadClawRegistry(registryPath);
93
+ const index = registry.claws.findIndex((entry) => entry.name === name);
94
+ if (index < 0) {
95
+ return null;
96
+ }
97
+ const nowIso = now().toISOString();
98
+ const current = registry.claws[index];
99
+ const next = {
100
+ ...current,
101
+ goal: updates.goal ?? current.goal,
102
+ status: updates.status ?? current.status,
103
+ cliCommand: updates.cliCommand ?? current.cliCommand,
104
+ note: updates.note ?? current.note,
105
+ tags: Array.isArray(updates.tags) ? updates.tags.filter((tag) => tag.trim() !== "") : current.tags,
106
+ lastSeenAt: updates.seen ? nowIso : current.lastSeenAt,
107
+ updatedAt: nowIso,
108
+ };
109
+ registry.claws[index] = next;
110
+ await saveClawRegistry(registryPath, registry);
111
+ return next;
112
+ }
113
+ export async function removeClaw(registryPath, name) {
114
+ const registry = await loadClawRegistry(registryPath);
115
+ const before = registry.claws.length;
116
+ registry.claws = registry.claws.filter((entry) => entry.name !== name);
117
+ if (registry.claws.length === before) {
118
+ return false;
119
+ }
120
+ await saveClawRegistry(registryPath, registry);
121
+ return true;
122
+ }
123
+ async function loadClawRegistry(registryPath) {
124
+ try {
125
+ const rawText = await readFile(registryPath, "utf8");
126
+ return normalizeClawRegistry(JSON.parse(rawText));
127
+ }
128
+ catch (error) {
129
+ if (typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT") {
130
+ return { version: REGISTRY_VERSION, claws: [] };
131
+ }
132
+ throw error;
133
+ }
134
+ }
135
+ async function saveClawRegistry(registryPath, registry) {
136
+ await mkdir(dirname(registryPath), { recursive: true });
137
+ await writeFile(registryPath, `${JSON.stringify({ ...registry, version: REGISTRY_VERSION }, null, 2)}\n`, "utf8");
138
+ }
139
+ //# sourceMappingURL=claw-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claw-store.js","sourceRoot":"","sources":["../src/claw-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAyCpC,MAAM,mBAAmB,GAAe,MAAM,CAAC;AAC/C,MAAM,cAAc,GAAwB,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,C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AO,CAAC,YAAY,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxD,MAAM,SAAS,CAAC,YAAY,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACpH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"deps.d.ts","sourceRoot":"","sources":["../src/deps.ts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,wBAAgB,oBAAoB,IAAI,OAAO,CA+C9C"}
1
+ {"version":3,"file":"deps.d.ts","sourceRoot":"","sources":["../src/deps.ts"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,wBAAgB,oBAAoB,IAAI,OAAO,CAgD9C"}
@@ -4,13 +4,14 @@ import { createInterface } from "node:readline/promises";
4
4
  import { DEFAULT_CONFIG_PATH, getDaemonStatus, installDaemonService, loadIdentity, runInstallWizard, saveIdentity, startDaemon, stopDaemon, toClaudeMdSnippet, toCodexSystemPrompt, uninstallDaemonService, } from "./deps-exports.js";
5
5
  import { clear, consolidate, count, get, list, memorize, recall, reflect, search, update, forget, } from "@va-claw/memory";
6
6
  import { installSkill, listSkills, loadSkill, removeSkill } from "../../skills/dist/index.js";
7
- import { fileExists, resolveClaudeMdPath, resolveCodexInstructionsPath, resolveMemoryDbPath, upsertManagedBlock, removeManagedBlock, wrapCodexPrompt, } from "./install-files.js";
7
+ import { fileExists, resolveClaudeMdPath, resolveCodexInstructionsPath, resolveClawRegistryPath, resolveMemoryDbPath, upsertManagedBlock, removeManagedBlock, wrapCodexPrompt, } from "./install-files.js";
8
8
  export function createDefaultCliDeps() {
9
9
  return {
10
10
  claudePath: resolveClaudeMdPath(),
11
11
  codexPath: resolveCodexInstructionsPath(),
12
12
  configPath: DEFAULT_CONFIG_PATH,
13
13
  memoryDbPath: resolveMemoryDbPath(),
14
+ clawRegistryPath: resolveClawRegistryPath(),
14
15
  platform: process.platform,
15
16
  spawnSync,
16
17
  stdout: process.stdout,
@@ -1 +1 @@
1
- {"version":3,"file":"deps.js","sourceRoot":"","sources":["../src/deps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,KAAK,EACL,GAAG,EACH,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,MAAM,EACN,MAAM,EACN,MAAM,GACP,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE9F,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,4BAA4B,EAC5B,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAG5B,MAAM,UAAU,oBAAoB;IAClC,OAAO;QACL,UAAU,EAAE,mBAAmB,EAAE;QACjC,SAAS,EAAE,4BAA4B,EAAE;QACzC,UAAU,EAAE,mBAAmB;QAC/B,YAAY,EAAE,mBAAmB,EAAE;QACnC,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,SAAS;QACT,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,MAAM,EAAE,OAAO,CAAC,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AAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;IAC3D,CAAC;YAAS,CAAC;QACT,EAAE,CAAC,KAAK,EAAE,CAAC;IACb,CAAC;AACH,CAAC;AAED,KAAK,UAAU,WAAW,CAAC,OAAe,EAAE,YAAY,GAAG,EAAE;IAC3D,MAAM,EAAE,GAAG,eAAe,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAC7E,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,YAAY,GAAG,CAAC;IACtE,IAAI,CAAC;QACH,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,GAAG,OAAO,GAAG,MAAM,GAAG,CAAC,CAAC;QACxD,OAAO,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC3D,CAAC;YAAS,CAAC;QACT,EAAE,CAAC,KAAK,EAAE,CAAC;IACb,CAAC;AACH,CAAC;AAED,KAAK,UAAU,kBAAkB;IAM/B,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,8BAA8B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC3E,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,CAK1B,CAAC;AACL,CAAC"}
@@ -3,6 +3,26 @@ export declare function runInstall(target: InstallTarget, deps: CliDeps): Promis
3
3
  export declare function runStart(deps: CliDeps): Promise<void>;
4
4
  export declare function runStop(deps: CliDeps): Promise<void>;
5
5
  export declare function runStatus(deps: CliDeps): Promise<void>;
6
+ export declare function runClawStatus(deps: CliDeps): Promise<void>;
7
+ export declare function runClawList(deps: CliDeps): Promise<void>;
8
+ export declare function runClawAdd(name: string, options: {
9
+ goal?: string;
10
+ status?: string;
11
+ cliCommand?: string;
12
+ note?: string;
13
+ tags?: string;
14
+ }, deps: CliDeps): Promise<void>;
15
+ export declare function runClawUpdate(name: string, options: {
16
+ goal?: string;
17
+ status?: string;
18
+ cliCommand?: string;
19
+ note?: string;
20
+ tags?: string;
21
+ seen?: string;
22
+ }, deps: CliDeps): Promise<void>;
23
+ export declare function runClawRemove(name: string, deps: CliDeps): Promise<void>;
24
+ export declare function runClawHeartbeat(name: string, deps: CliDeps): Promise<void>;
25
+ export declare function runProtocol(deps: CliDeps, textMode?: boolean): Promise<void>;
6
26
  export declare function runMemorySearch(query: string, deps: CliDeps): Promise<void>;
7
27
  export declare function runMemoryList(deps: CliDeps): Promise<void>;
8
28
  export declare function runMemoryMemorize(key: string, essence: string, options: {
@@ -1 +1 @@
1
- {"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../src/handlers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGzD,wBAAsB,UAAU,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAmBpF;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAQ3D;AAED,wBAAsB,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAO1D;AAED,wBAAsB,SAAS,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAU5D;AAED,wBAAsB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAEjF;AAED,wBAAsB,aAAa,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAEhE;AAED,wBAAsB,iBAAiB,CACrC,GAAG,E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AAC,IAAI,CAAC,CASnE;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAE/D;AAED,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAQjF;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAG/E;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAG7E;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAM/D"}
@@ -1,8 +1,10 @@
1
1
  import { CLAUDE_MARKERS, CODEX_MARKERS } from "./install-files.js";
2
2
  import { countMemoryEntries, findLastWakeAt } from "./memory-status.js";
3
- import { formatMemoryEntries, formatSkills, writeLine } from "./output.js";
3
+ import { formatClawDefinitions, formatMemoryEntries, formatSkills, writeLine, } from "./output.js";
4
4
  import { detectServiceType, probeServiceRunning, stopInstalledService } from "./platform.js";
5
+ import { listClaws, registerClaw, removeClaw, updateClaw, validateClawStatus, } from "./claw-store.js";
5
6
  import { waitForStopSignal } from "./wait.js";
7
+ const CLAW_FLEET_PROTOCOL_SKILL_URL = "https://raw.githubusercontent.com/Vadaski/va-claw/main/skills/claw-fleet-protocol.md";
6
8
  export async function runInstall(target, deps) {
7
9
  const installTarget = normalizeInstallTarget(target);
8
10
  const config = (await deps.fileExists(deps.configPath)) ? await deps.loadIdentity() : await deps.runInstallWizard();
@@ -19,6 +21,10 @@ export async function runInstall(target, deps) {
19
21
  const serviceType = detectServiceType(deps.platform);
20
22
  await deps.installDaemonService(serviceType);
21
23
  summary.push(`Daemon service: ${serviceType}`);
24
+ const fleetSkillName = await installFleetProtocolSkill(deps);
25
+ if (fleetSkillName) {
26
+ summary.push(`Claw fleet protocol skill: ${fleetSkillName}`);
27
+ }
22
28
  for (const line of summary) {
23
29
  writeLine(deps.stdout, line);
24
30
  }
@@ -51,6 +57,147 @@ export async function runStatus(deps) {
51
57
  writeLine(deps.stdout, `Last wake: ${lastWakeAt ?? "never"}`);
52
58
  writeLine(deps.stdout, `Memory entries: ${memoryCount}`);
53
59
  }
60
+ export async function runClawStatus(deps) {
61
+ const clawStatus = await buildProtocolReport(deps);
62
+ writeLine(deps.stdout, formatClawDefinitions(clawStatus.claws));
63
+ writeLine(deps.stdout, `Daemon running: ${clawStatus.runtime.running ? "yes" : "no"} | service: ${clawStatus.runtime.serviceRunning ? "running" : "stopped"} | wakeCount: ${clawStatus.runtime.wakeCount}`);
64
+ }
65
+ export async function runClawList(deps) {
66
+ const claws = await listClaws(deps.clawRegistryPath);
67
+ writeLine(deps.stdout, formatClawDefinitions(claws));
68
+ }
69
+ export async function runClawAdd(name, options, deps) {
70
+ const normalizedName = name.trim();
71
+ if (normalizedName === "") {
72
+ throw new Error("Claw name cannot be empty.");
73
+ }
74
+ const status = options.status
75
+ ? validateClawStatus(options.status)
76
+ : null;
77
+ if (options.status && status === null) {
78
+ throw new Error(`Invalid claw status: ${options.status}`);
79
+ }
80
+ const claw = await registerClaw(deps.clawRegistryPath, {
81
+ name: normalizedName,
82
+ goal: options.goal,
83
+ status: status ?? undefined,
84
+ cliCommand: options.cliCommand,
85
+ note: options.note,
86
+ tags: options.tags ? splitCommaList(options.tags) : [],
87
+ });
88
+ writeLine(deps.stdout, formatClawDefinitions([claw]));
89
+ }
90
+ export async function runClawUpdate(name, options, deps) {
91
+ const status = options.status ? validateClawStatus(options.status) : null;
92
+ const normalizedName = name.trim();
93
+ if (normalizedName === "") {
94
+ throw new Error("Claw name cannot be empty.");
95
+ }
96
+ if (options.status && status === null) {
97
+ throw new Error(`Invalid claw status: ${options.status}`);
98
+ }
99
+ const patch = {
100
+ goal: options.goal,
101
+ status: status ?? undefined,
102
+ cliCommand: options.cliCommand,
103
+ note: options.note,
104
+ tags: options.tags ? splitCommaList(options.tags) : undefined,
105
+ seen: options.seen === "1" || options.seen === "true" || options.seen === "yes",
106
+ };
107
+ const claw = await updateClaw(deps.clawRegistryPath, normalizedName, patch);
108
+ if (!claw) {
109
+ writeLine(deps.stdout, `Claw not found: ${name}`);
110
+ return;
111
+ }
112
+ writeLine(deps.stdout, formatClawDefinitions([claw]));
113
+ }
114
+ export async function runClawRemove(name, deps) {
115
+ const normalizedName = name.trim();
116
+ if (normalizedName === "") {
117
+ throw new Error("Claw name cannot be empty.");
118
+ }
119
+ const removed = await removeClaw(deps.clawRegistryPath, normalizedName);
120
+ writeLine(deps.stdout, removed ? `Removed claw: ${normalizedName}` : `Claw not found: ${normalizedName}`);
121
+ }
122
+ export async function runClawHeartbeat(name, deps) {
123
+ const normalizedName = name.trim();
124
+ if (normalizedName === "") {
125
+ throw new Error("Claw name cannot be empty.");
126
+ }
127
+ const claw = await updateClaw(deps.clawRegistryPath, normalizedName, { seen: true, status: "running" });
128
+ if (!claw) {
129
+ writeLine(deps.stdout, `Claw not found: ${name}`);
130
+ return;
131
+ }
132
+ writeLine(deps.stdout, formatClawDefinitions([claw]));
133
+ }
134
+ export async function runProtocol(deps, textMode = false) {
135
+ const report = await buildProtocolReport(deps);
136
+ if (textMode) {
137
+ writeLine(deps.stdout, `protocol: ${report.protocol}`);
138
+ writeLine(deps.stdout, `timestamp: ${report.timestamp}`);
139
+ writeLine(deps.stdout, `daemon.running: ${report.runtime.running}`);
140
+ writeLine(deps.stdout, `daemon.serviceRunning: ${report.runtime.serviceRunning}`);
141
+ writeLine(deps.stdout, `daemon.discord: ${report.runtime.discord}`);
142
+ writeLine(deps.stdout, `daemon.wakeCount: ${report.runtime.wakeCount}`);
143
+ writeLine(deps.stdout, `daemon.lastWakeAt: ${report.runtime.lastWakeAt ?? "never"}`);
144
+ writeLine(deps.stdout, `memory.entries: ${report.memory.entries}`);
145
+ writeLine(deps.stdout, `memory.lastWakeAt: ${report.memory.lastWakeAt ?? "never"}`);
146
+ writeLine(deps.stdout, "");
147
+ writeLine(deps.stdout, "Claws:");
148
+ writeLine(deps.stdout, formatClawDefinitions(report.claws));
149
+ return;
150
+ }
151
+ writeLine(deps.stdout, JSON.stringify(report, null, 2));
152
+ }
153
+ async function buildProtocolReport(deps) {
154
+ const runtime = await deps.getDaemonStatus();
155
+ const serviceType = safeDetectServiceType(deps.platform);
156
+ const serviceRunning = serviceType ? probeServiceRunning(serviceType, deps.spawnSync) : false;
157
+ const runtimeLastWakeAt = runtime.lastWakeAt?.toISOString() ?? null;
158
+ const fallbackLastWakeAt = await findLastWakeAt(deps.memoryDbPath, deps.fileExists);
159
+ const memoryCount = await countMemoryEntries(deps.memoryDbPath, deps.fileExists);
160
+ const claws = await listClaws(deps.clawRegistryPath);
161
+ return {
162
+ protocol: "va-claw-claw-protocol-1",
163
+ timestamp: new Date().toISOString(),
164
+ runtime: {
165
+ running: runtime.running,
166
+ serviceRunning,
167
+ discord: runtime.discord,
168
+ wakeCount: runtime.wakeCount,
169
+ lastWakeAt: runtimeLastWakeAt ?? fallbackLastWakeAt,
170
+ },
171
+ memory: {
172
+ entries: memoryCount,
173
+ lastWakeAt: runtimeLastWakeAt ?? fallbackLastWakeAt,
174
+ },
175
+ claws: claws.map((claw) => ({
176
+ name: claw.name,
177
+ goal: claw.goal,
178
+ status: claw.status,
179
+ cliCommand: claw.cliCommand,
180
+ note: claw.note,
181
+ tags: claw.tags,
182
+ lastSeenAt: claw.lastSeenAt,
183
+ createdAt: claw.createdAt,
184
+ updatedAt: claw.updatedAt,
185
+ })),
186
+ };
187
+ }
188
+ async function installFleetProtocolSkill(deps) {
189
+ try {
190
+ const response = await fetch(CLAW_FLEET_PROTOCOL_SKILL_URL);
191
+ if (!response.ok) {
192
+ return null;
193
+ }
194
+ const content = await response.text();
195
+ return await deps.skillInstall(content, "claw-fleet-protocol");
196
+ }
197
+ catch {
198
+ return null;
199
+ }
200
+ }
54
201
  export async function runMemorySearch(query, deps) {
55
202
  writeLine(deps.stdout, formatMemoryEntries(await deps.memorySearch(query, 10)));
56
203
  }