qlogicagent 2.16.4 → 2.16.6

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 (95) hide show
  1. package/README.md +2 -11
  2. package/dist/agent.js +20 -21
  3. package/dist/cli.js +516 -375
  4. package/dist/index.js +515 -374
  5. package/dist/orchestration.js +11 -12
  6. package/dist/protocol.js +1 -1
  7. package/dist/types/agent/tool-loop/completion-action-policy.d.ts +2 -1
  8. package/dist/types/agent/tool-loop/loop-helpers.d.ts +1 -4
  9. package/dist/types/agent/tool-loop/pseudo-tool-output.d.ts +8 -0
  10. package/dist/types/agent/tool-loop/tool-failure-policy.d.ts +0 -1
  11. package/dist/types/agent/tool-loop/tool-guardrails.d.ts +24 -0
  12. package/dist/types/agent/tool-loop/tool-result-classification.d.ts +10 -0
  13. package/dist/types/agent/tool-loop.d.ts +4 -0
  14. package/dist/types/agent/types.d.ts +2 -2
  15. package/dist/types/cli/acp-commands.d.ts +1 -2
  16. package/dist/types/cli/acp-extended-handlers.d.ts +25 -0
  17. package/dist/types/cli/agent-runtime-bootstrap.d.ts +0 -2
  18. package/dist/types/cli/community-resource-installer.d.ts +5 -3
  19. package/dist/types/cli/core-tools/fork-system-prompt.d.ts +0 -2
  20. package/dist/types/cli/core-tools/registry.d.ts +1 -2
  21. package/dist/types/cli/core-tools/session-tool-manifest.d.ts +0 -2
  22. package/dist/types/cli/handlers/community-handler.d.ts +4 -0
  23. package/dist/types/cli/handlers/goal-handler.d.ts +54 -0
  24. package/dist/types/cli/handlers/pinned-skill-context.d.ts +2 -0
  25. package/dist/types/cli/handlers/turn-handler.d.ts +0 -1
  26. package/dist/types/cli/skill-invocation-service.d.ts +8 -0
  27. package/dist/types/cli/{skill-meta-tool-bootstrap.d.ts → skill-tools-bootstrap.d.ts} +6 -12
  28. package/dist/types/cli/stdio-agent-session-bootstrap.d.ts +0 -1
  29. package/dist/types/cli/tool-bootstrap-core-registration.d.ts +1 -9
  30. package/dist/types/cli/tool-bootstrap.d.ts +0 -2
  31. package/dist/types/contracts/turn-event.d.ts +1 -1
  32. package/dist/types/orchestration/agent-instance.d.ts +19 -2
  33. package/dist/types/orchestration/delegation-coordinator.d.ts +43 -0
  34. package/dist/types/orchestration/goal-acceptance.d.ts +20 -0
  35. package/dist/types/orchestration/goal-loop-coordinator.d.ts +87 -0
  36. package/dist/types/orchestration/goal-mode-adapters.d.ts +94 -0
  37. package/dist/types/orchestration/goal-run-persistence.d.ts +15 -0
  38. package/dist/types/orchestration/goal-run-types.d.ts +112 -0
  39. package/dist/types/orchestration/index.d.ts +1 -1
  40. package/dist/types/orchestration/skill-improvement.d.ts +1 -21
  41. package/dist/types/orchestration/subagent/agent-registry.d.ts +1 -1
  42. package/dist/types/orchestration/workflow/host-executors.d.ts +1 -1
  43. package/dist/types/orchestration/workflow/node-schema.d.ts +3 -3
  44. package/dist/types/orchestration/workflow/qla-executor-host.d.ts +2 -2
  45. package/dist/types/orchestration/workflow/workflow-scheduler.d.ts +1 -1
  46. package/dist/types/protocol/methods.d.ts +0 -3
  47. package/dist/types/protocol/wire/acp-agent-management.d.ts +33 -1
  48. package/dist/types/protocol/wire/acp-protocol.d.ts +14 -2
  49. package/dist/types/protocol/wire/agent-events.d.ts +2 -2
  50. package/dist/types/protocol/wire/agent-methods.d.ts +0 -2
  51. package/dist/types/protocol/wire/notification-payloads.d.ts +36 -20
  52. package/dist/types/runtime/community/community-pet-publisher.d.ts +21 -24
  53. package/dist/types/runtime/community/community-signal-reporter.d.ts +0 -14
  54. package/dist/types/runtime/config/tunable-defaults.d.ts +0 -21
  55. package/dist/types/runtime/execution/untrusted-tool-result.d.ts +2 -0
  56. package/dist/types/runtime/hooks/community-discovery-hook.d.ts +18 -0
  57. package/dist/types/runtime/infra/acp-protocol-adapter.d.ts +2 -2
  58. package/dist/types/runtime/infra/agent-install-runner.d.ts +1 -1
  59. package/dist/types/runtime/infra/skill-resolver.d.ts +9 -3
  60. package/dist/types/runtime/pet/pet-community-assets.d.ts +16 -11
  61. package/dist/types/runtime/pet/pet-profile-service.d.ts +2 -2
  62. package/dist/types/runtime/pet/petdex-asset.d.ts +28 -0
  63. package/dist/types/runtime/ports/tool-contracts.d.ts +1 -10
  64. package/dist/types/runtime/prompt/environment-context.d.ts +8 -32
  65. package/dist/types/runtime/tasks/task-types.d.ts +2 -32
  66. package/dist/types/skills/mcp/mcp-manager.d.ts +20 -2
  67. package/dist/types/skills/permissions/hook-runner.d.ts +0 -22
  68. package/dist/types/skills/plugins/plugin-api.d.ts +1 -1
  69. package/dist/types/skills/portable-tool.d.ts +2 -8
  70. package/dist/types/skills/skill-system/skill-bundles.d.ts +8 -0
  71. package/dist/types/skills/skill-system/skill-frontmatter.d.ts +1 -5
  72. package/dist/types/skills/skill-system/skill-lifecycle.d.ts +13 -1
  73. package/dist/types/skills/skill-system/skill-preprocessing.d.ts +11 -0
  74. package/dist/types/skills/skill-system/skill-types.d.ts +0 -75
  75. package/dist/types/skills/skill-system/skill-validation.d.ts +1 -0
  76. package/dist/types/skills/tools/skill-tool.d.ts +58 -22
  77. package/dist/types/skills/tools.d.ts +5 -39
  78. package/dist/types/transport/acp-server.d.ts +13 -1
  79. package/package.json +3 -3
  80. package/dist/types/cli/core-tools/team-registry.d.ts +0 -62
  81. package/dist/types/cli/core-tools/team-tool-bootstrap.d.ts +0 -11
  82. package/dist/types/cli/core-tools/team-tool-service.d.ts +0 -43
  83. package/dist/types/cli/skill-meta-subturn-service.d.ts +0 -26
  84. package/dist/types/runtime/hooks/skill-recall-hooks.d.ts +0 -37
  85. package/dist/types/runtime/sandbox/skill-sandbox.d.ts +0 -53
  86. package/dist/types/runtime/sandbox/windows-skill-sandbox.d.ts +0 -78
  87. package/dist/types/skills/permissions/community-sandbox-policy.d.ts +0 -3
  88. package/dist/types/skills/permissions/community-sandbox-red-team-cli.d.ts +0 -7
  89. package/dist/types/skills/permissions/community-sandbox-red-team.d.ts +0 -32
  90. package/dist/types/skills/skill-system/skill-source.d.ts +0 -38
  91. package/dist/types/skills/tools/team-tool.d.ts +0 -152
  92. package/dist/types/skills/tools/tool-search-tool.d.ts +0 -75
  93. package/dist/types/skills/tools/tool-selection-eval.d.ts +0 -49
  94. package/dist/types/skills/tools/tool-selection-eval.dataset.d.ts +0 -5
  95. package/dist/types/skills/tools/tool-selection-eval.tasks.d.ts +0 -9
package/README.md CHANGED
@@ -2,27 +2,18 @@
2
2
 
3
3
  ## Community Red-Team Reports
4
4
 
5
- Generate the v0.15 community red-team reports from the same detectors and permission checker used by local community flows:
5
+ Generate the community desensitization red-team report from the same detectors used by local community flows:
6
6
 
7
7
  ```bash
8
8
  pnpm redteam:community-desensitization -- --out=../qlogicagent-hub/reports/community-go-live/red-team/desensitization.json
9
- pnpm redteam:community-sandbox -- --out=../qlogicagent-hub/reports/community-go-live/red-team/sandbox.json
10
9
  ```
11
10
 
12
- The reports contain case ids, rule/finding ids, counts, and failures only; they do not store raw emails, secrets, paths, phone numbers, memories, skill text, tool commands, or file paths.
13
-
14
- Installed community skills are marked from their lifecycle registry provenance. Non-official installed skills execute as `community-skill:*` subturns, and `PermissionChecker` applies the L1 sandbox overlay only while that subturn is active.
11
+ The report contains case ids, rule/finding ids, counts, and failures only; it does not store raw emails, secrets, paths, phone numbers, memories, skill text, tool commands, or file paths.
15
12
 
16
13
  The generic `skill` meta-tool no longer exposes raw URL installation. New community skills must enter through the v0.15 registry install flow so manifest kind, source tier, risk tier, dependencies, checksum, and local `SKILL.md` rescan all run on the same path.
17
14
 
18
15
  Community skill installation also rescans the downloaded `SKILL.md` entry after checksum verification and before moving it into the owner profile. Prompt-injection hits fail closed, leave no installed skill or lifecycle record, and return only a generic scan failure.
19
16
 
20
- At runtime, the community sandbox overlay also blocks host side-effect tools such as `send_message`, `agent`, `team`, `cron`, and `monitor` from community skill subturns, so injected instructions cannot escape through delegation, team control, or scheduled work.
21
-
22
- Community skill subturns also treat local file upload as tainted data egress. A `file_upload` call from `community-skill:*` requires explicit per-call approval before any provider Files API upload can proceed; auto-mode classifiers cannot replace that approval, and denied approvals leave no raw file path in the sandbox red-team report.
23
-
24
- Community skill subturns also treat provider prompt/media tools as tainted external egress. Calls such as `image_generate`, `video_generate`, `music_generate`, `tts`, `three_d_generate`, `video_edit`, `video_merge`, `video_upscale`, `voice_clone`, and `stt` require explicit per-call approval from `community-skill:*`; worker/coordinator roles fail closed, and auto-mode classifiers cannot replace that approval.
25
-
26
17
  Pet/Soul data is display-only. Runtime load/save sanitization strips fields and Chinese/English text that claim the pet is a desktop agent, execution actor, decision layer, permission subject, or can alter agent tools, permissions, memory, retrieval, planning, security policy, or system prompts.
27
18
 
28
19
  小智 Claw 的本地 AI Agent 运行时。作为独立进程运行,通过 **ACP (Agent Client Protocol) + Native JSON-RPC over stdio** 对外提供 Agent 能力。openclaw 智能网关作为 ACP Client 连接本进程。