@insmind/cli 1.3.1 → 1.4.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 (33) hide show
  1. package/dist/bin/agent-worker.js +13 -1
  2. package/dist/bin/insmind-cli.js +7 -0
  3. package/dist/bin/postinstall.js +11 -2
  4. package/dist/src/bootstrap/create-cli.js +15 -7
  5. package/dist/src/bootstrap/create-runtime.js +73 -35
  6. package/dist/src/bootstrap/run-agent-worker.js +12 -1
  7. package/dist/src/cli/action-binding.js +1 -2
  8. package/dist/src/cli/errors.js +5 -3
  9. package/dist/src/cli/task-commands.js +3 -2
  10. package/dist/src/features/agent/creative-agent-adapter.js +1 -0
  11. package/dist/src/features/agent/creative-protocol.js +4 -2
  12. package/dist/src/features/auth/access-policy.js +8 -0
  13. package/dist/src/features/auth/sso-service.js +76 -26
  14. package/dist/src/features/auth/use-cases.js +1 -1
  15. package/dist/src/features/dam/file-downloader.js +6 -6
  16. package/dist/src/features/dam/object-storage.js +6 -4
  17. package/dist/src/features/editor/bridge-process.js +9 -3
  18. package/dist/src/features/editor/bridge-server.js +4 -2
  19. package/dist/src/features/org/use-cases.js +8 -3
  20. package/dist/src/features/task/store.js +34 -2
  21. package/dist/src/features/task/use-cases.js +71 -6
  22. package/dist/src/features/tool/tool-api-adapter.js +1 -0
  23. package/dist/src/features/update/update-notification.js +4 -2
  24. package/dist/src/platform/file-lock.js +68 -0
  25. package/dist/src/platform/redact.js +1 -1
  26. package/dist/src/platform/safe-upload-file.js +3 -3
  27. package/dist/src/platform/signed-http-transport.js +23 -9
  28. package/dist/src/telemetry/invocation.js +74 -122
  29. package/dist/src/telemetry/process-errors.js +43 -0
  30. package/dist/src/telemetry/sanitize.js +72 -0
  31. package/dist/src/telemetry/sls-sink.js +209 -22
  32. package/package.json +4 -4
  33. package/skills/insmind-cli/references/creation.md +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insmind/cli",
3
- "version": "1.3.1",
3
+ "version": "1.4.1",
4
4
  "description": "insMind command-line interface for agents and people.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -46,8 +46,8 @@
46
46
  "@gaoding/cli": "workspace:*"
47
47
  },
48
48
  "gaodingRelease": {
49
- "sourceCommit": "666ca6a5d458874fb5bb8487599a4179d502075b",
50
- "pipelineId": "182095",
51
- "pipelineUrl": "https://git.intra.gaoding.com/gtt/gaoding-cli/-/pipelines/182095"
49
+ "sourceCommit": "3240af623d045c12d5ab21fbf55e45a2cff195c2",
50
+ "pipelineId": "183172",
51
+ "pipelineUrl": "https://git.intra.gaoding.com/gtt/gaoding-cli/-/pipelines/183172"
52
52
  }
53
53
  }
@@ -1,5 +1,17 @@
1
1
  # Creation
2
2
 
3
+ ## Requirements and inputs
4
+
5
+ Faithfully convey the user’s request, supplied materials and explicit constraints. When essential information or materials are missing, ask the user for clarification or pass the original request to the business Agent to assess and ask. Do not add instructions to generate replacement materials, disregard constraints or change the task’s objective without the user’s authorization. When the user explicitly permits free creation, illustrative materials or filling in missing details, work within that permission.
6
+
7
+ Judge whether the missing input affects the feasibility of the task, the identity of its subject or compliance with explicit requirements. Optional style preferences do not always require clarification.
8
+
9
+ For example, the user says “Make a promotional image for this product” without providing material that identifies the product:
10
+
11
+ - Correct: ask for the product image, or pass the original request to the business Agent so it can assess which materials are needed and ask.
12
+ - Incorrect: add “There is no original image, so generate an illustrative product first.” Labeling it a “concept” still changes the subject the user selected; obtain their choice first.
13
+ - Free creation differs: “Design a fictional product and make a promotional image” permits inventing the subject, so proceed. Unspecified colors or layouts can be designed as style details.
14
+
3
15
  ## Choose a route
4
16
 
5
17
  Choose the Creation Route before selecting or validating a Model. Both Agent and Tool accept models and parameters; `model list` and `model get` provide shared, live discovery.