@notis_ai/cli 0.2.0-beta.136.1 → 0.2.0-beta.139.1

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 (36) hide show
  1. package/README.md +38 -0
  2. package/dist/agent-hooks/notis-agent-hook.mjs +16620 -0
  3. package/{skills → dist/base-skills}/notis-apps/SKILL.md +9 -6
  4. package/{skills → dist/base-skills}/notis-cli/SKILL.md +1 -1
  5. package/dist/base-skills/notis-query/SKILL.md +705 -0
  6. package/dist/scaffolds/notis-database/packages/sdk/src/config.ts +8 -0
  7. package/dist/scaffolds/notis-journal/packages/sdk/src/config.ts +8 -0
  8. package/dist/scaffolds/notis-notes/packages/sdk/src/config.ts +8 -0
  9. package/dist/scaffolds/notis-random/packages/sdk/src/config.ts +8 -0
  10. package/dist/skill-sync/index.js +1528 -0
  11. package/dist/skill-sync/index.js.map +7 -0
  12. package/package.json +4 -1
  13. package/skills/notis-cli/AGENT_INSTRUCTIONS.md +39 -0
  14. package/skills/notis-onboarding/BRIEF.md +16 -0
  15. package/src/agent-hook-entry.js +5 -0
  16. package/src/cli.js +23 -14
  17. package/src/command-specs/agents.js +392 -0
  18. package/src/command-specs/auth.js +16 -0
  19. package/src/command-specs/index.js +6 -0
  20. package/src/command-specs/onboarding.js +59 -2
  21. package/src/command-specs/skills.js +56 -0
  22. package/src/runtime/agent-memory-state.js +126 -0
  23. package/src/runtime/agent-setup.js +383 -0
  24. package/src/runtime/base-skills.d.ts +20 -0
  25. package/src/runtime/base-skills.js +167 -0
  26. package/src/runtime/skill-sync/cloud-client.ts +96 -0
  27. package/src/runtime/skill-sync/index.ts +644 -0
  28. package/src/runtime/skill-sync/local-scanner.ts +1046 -0
  29. package/src/runtime/skill-sync/symlink-manager.ts +383 -0
  30. package/src/runtime/skill-sync/sync-plan.ts +22 -0
  31. package/src/runtime/skill-sync/types.ts +103 -0
  32. package/src/runtime/skill-sync/write-cloud-skill.ts +50 -0
  33. package/src/runtime/store-screenshot.js +6 -1
  34. package/src/runtime/sync-skills.d.ts +37 -0
  35. package/src/runtime/sync-skills.js +215 -0
  36. package/template/packages/sdk/src/config.ts +8 -0
@@ -209,6 +209,14 @@ export interface NotisAppConfig {
209
209
  */
210
210
  capabilities?: NotisAppCapabilities;
211
211
  routes?: NotisRouteConfig[];
212
+ /**
213
+ * Final tool names this app can call at runtime, enforced server-side. Use
214
+ * names returned by shared discovery, including native `LOCAL_NOTIS_*`,
215
+ * connected-service names such as `GMAIL_SEND_EMAIL`,
216
+ * `LOCAL_POSTFORME_*`, and `LOCAL_MCP_<SERVER>_<TOOL>`. App code calls
217
+ * each declared name directly with `useTool`; metered calls use the shared
218
+ * credit-cap and usage-billing path.
219
+ */
212
220
  tools?: string[];
213
221
  /** Skills shipped from this app's source tree. */
214
222
  skills?: NotisAppSkillConfig[];
@@ -209,6 +209,14 @@ export interface NotisAppConfig {
209
209
  */
210
210
  capabilities?: NotisAppCapabilities;
211
211
  routes?: NotisRouteConfig[];
212
+ /**
213
+ * Final tool names this app can call at runtime, enforced server-side. Use
214
+ * names returned by shared discovery, including native `LOCAL_NOTIS_*`,
215
+ * connected-service names such as `GMAIL_SEND_EMAIL`,
216
+ * `LOCAL_POSTFORME_*`, and `LOCAL_MCP_<SERVER>_<TOOL>`. App code calls
217
+ * each declared name directly with `useTool`; metered calls use the shared
218
+ * credit-cap and usage-billing path.
219
+ */
212
220
  tools?: string[];
213
221
  /** Skills shipped from this app's source tree. */
214
222
  skills?: NotisAppSkillConfig[];
@@ -209,6 +209,14 @@ export interface NotisAppConfig {
209
209
  */
210
210
  capabilities?: NotisAppCapabilities;
211
211
  routes?: NotisRouteConfig[];
212
+ /**
213
+ * Final tool names this app can call at runtime, enforced server-side. Use
214
+ * names returned by shared discovery, including native `LOCAL_NOTIS_*`,
215
+ * connected-service names such as `GMAIL_SEND_EMAIL`,
216
+ * `LOCAL_POSTFORME_*`, and `LOCAL_MCP_<SERVER>_<TOOL>`. App code calls
217
+ * each declared name directly with `useTool`; metered calls use the shared
218
+ * credit-cap and usage-billing path.
219
+ */
212
220
  tools?: string[];
213
221
  /** Skills shipped from this app's source tree. */
214
222
  skills?: NotisAppSkillConfig[];