agentplugged 1.4.0 → 2.0.0

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 (96) hide show
  1. package/README.md +8 -2
  2. package/dist/agent-commands.js +10821 -26458
  3. package/dist/bin.js +1 -1
  4. package/dist/boundary-rules.js +1 -0
  5. package/dist/boundary-rules2.js +52 -0
  6. package/dist/cli.js +6 -1
  7. package/dist/commit-documents.js +81 -0
  8. package/dist/dist.js +22246 -11722
  9. package/dist/dist2.js +9 -0
  10. package/dist/esm.js +3 -3
  11. package/dist/forge-follow.js +4 -4
  12. package/dist/grammars/LICENSE-tree-sitter-wasm +21 -0
  13. package/dist/grammars/LICENSE-web-tree-sitter +21 -0
  14. package/dist/grammars/tree-sitter-go.wasm +0 -0
  15. package/dist/grammars/tree-sitter-java.wasm +0 -0
  16. package/dist/grammars/tree-sitter-javascript.wasm +0 -0
  17. package/dist/grammars/tree-sitter-php.wasm +0 -0
  18. package/dist/grammars/tree-sitter-python.wasm +0 -0
  19. package/dist/grammars/tree-sitter-rust.wasm +0 -0
  20. package/dist/grammars/tree-sitter-tsx.wasm +0 -0
  21. package/dist/grammars/tree-sitter-typescript.wasm +0 -0
  22. package/dist/grammars/web-tree-sitter.wasm +0 -0
  23. package/dist/hash.js +17937 -2
  24. package/dist/helpers.js +165 -156
  25. package/dist/launcher.js +3 -3
  26. package/dist/main.js +9692 -2616
  27. package/dist/map-cache.js +8096 -0
  28. package/dist/map-update.js +16593 -0
  29. package/dist/map-update2.js +1 -0
  30. package/dist/method/agents/alex/agent.yaml +2 -2
  31. package/dist/method/agents/iris/SKILL.md +7 -7
  32. package/dist/method/agents/iris/agent.yaml +4 -7
  33. package/dist/method/agents/maya/agent.yaml +1 -1
  34. package/dist/method/agents/noah/SKILL.md +41 -45
  35. package/dist/method/agents/noah/agent.yaml +1 -4
  36. package/dist/method/agents/noah/evals/routes.yaml +238 -0
  37. package/dist/method/agents/noah/references/decisions.md +1 -3
  38. package/dist/method/agents/noah/references/environment.md +24 -29
  39. package/dist/method/agents/noah/references/journey.md +1 -1
  40. package/dist/method/agents/noah/references/team.md +7 -3
  41. package/dist/method/agents/omar/SKILL.md +2 -2
  42. package/dist/method/agents/omar/agent.yaml +11 -5
  43. package/dist/method/doctor.yaml +530 -9
  44. package/dist/method/skills/audit-pillars/SKILL.md +1 -0
  45. package/dist/method/skills/audit-pillars/references/demo.md +35 -0
  46. package/dist/method/skills/audit-pillars/references/tech-debt.md +38 -0
  47. package/dist/method/skills/develop-story/SKILL.md +1 -1
  48. package/dist/method/skills/generate-knowledge-base/SKILL.md +1 -1
  49. package/dist/method/skills/ideation/SKILL.md +1 -1
  50. package/dist/method/skills/plan-sprint/SKILL.md +2 -1
  51. package/dist/method/skills/plan-sprint/references/rituals.md +40 -0
  52. package/dist/method/skills/prepare-go-live/SKILL.md +59 -0
  53. package/dist/method/skills/run-acceptance/SKILL.md +5 -5
  54. package/dist/method/skills/run-acceptance/references/template.md +1 -1
  55. package/dist/method/skills/security-review-architecture/SKILL.md +3 -4
  56. package/dist/method/skills/setup-ci/SKILL.md +2 -1
  57. package/dist/method/skills/setup-ci/assets/access-check.mjs +116 -0
  58. package/dist/method/skills/setup-ci/assets/security-github.yml +41 -0
  59. package/dist/method/skills/setup-ci/assets/security-gitlab.yml +22 -0
  60. package/dist/method/skills/setup-ci/assets/stack-dotnet-github.yml +118 -0
  61. package/dist/method/skills/setup-ci/assets/stack-dotnet-gitlab.yml +63 -0
  62. package/dist/method/skills/setup-ci/assets/stack-go-github.yml +118 -0
  63. package/dist/method/skills/setup-ci/assets/stack-go-gitlab.yml +63 -0
  64. package/dist/method/skills/setup-ci/assets/stack-jvm-gradle-github.yml +134 -0
  65. package/dist/method/skills/setup-ci/assets/stack-jvm-gradle-gitlab.yml +71 -0
  66. package/dist/method/skills/setup-ci/assets/stack-jvm-maven-github.yml +133 -0
  67. package/dist/method/skills/setup-ci/assets/stack-jvm-maven-gitlab.yml +70 -0
  68. package/dist/method/skills/setup-ci/assets/stack-python-github.yml +123 -0
  69. package/dist/method/skills/setup-ci/assets/stack-python-gitlab.yml +68 -0
  70. package/dist/method/skills/setup-ci/assets/stack-rust-github.yml +107 -0
  71. package/dist/method/skills/setup-ci/assets/stack-rust-gitlab.yml +64 -0
  72. package/dist/method/skills/setup-ci/references/security.md +39 -0
  73. package/dist/method/skills/setup-ci/references/stacks.md +22 -0
  74. package/dist/method/skills/strategy/SKILL.md +1 -2
  75. package/dist/method/skills/write-architecture/references/guard.md +2 -0
  76. package/dist/method/skills/write-brief/SKILL.md +16 -17
  77. package/dist/method/skills/write-brief/assets/brief-template.md +7 -5
  78. package/dist/method/skills/write-brief/references/brief-checklist.md +1 -1
  79. package/dist/method/skills/write-content/SKILL.md +1 -1
  80. package/dist/method/skills/write-positioning/SKILL.md +1 -1
  81. package/dist/method/skills/write-prd/SKILL.md +2 -2
  82. package/dist/method/skills/write-sales/SKILL.md +1 -1
  83. package/dist/method/skills/write-ux-spec/SKILL.md +1 -1
  84. package/dist/product-root.js +89 -20839
  85. package/dist/project-command.js +185 -917
  86. package/dist/project-command2.js +1 -1
  87. package/dist/read-command.js +3 -3
  88. package/dist/sheet-command.js +4 -3
  89. package/dist/webauthn-verify.js +1 -2
  90. package/package.json +10 -9
  91. package/dist/method/skills/round-table/SKILL.md +0 -31
  92. package/dist/method/skills/round-table/evals/cases.yaml +0 -27
  93. package/dist/method/skills/round-table/references/closing.md +0 -18
  94. package/dist/method/skills/round-table/references/guests.md +0 -17
  95. package/dist/method/skills/round-table/references/rooms.md +0 -16
  96. package/dist/method/skills/round-table/references/table.md +0 -19
package/dist/dist2.js ADDED
@@ -0,0 +1,9 @@
1
+ import "./product-root.js";
2
+ import "./hash.js";
3
+ export { Qs as DEV_ENGINE_VERSION, tc as isDevEngineEntry } from "./map-update.js";
4
+ import "./agent-commands.js";
5
+ import "./map-cache.js";
6
+ import "./project-command.js";
7
+ import "./dist.js";
8
+ import "./boundary-rules2.js";
9
+ import "./main.js";
package/dist/esm.js CHANGED
@@ -271,7 +271,7 @@ var BaseMetadataService = class {
271
271
  };
272
272
  new BaseMetadataService();
273
273
  require_cjs$2();
274
- // ../../node_modules/.pnpm/@peculiar+asn1-android@2.11.0/node_modules/@peculiar/asn1-android/build/cjs/key_description.js
274
+ // ../../node_modules/.pnpm/@peculiar+asn1-android@2.11.1/node_modules/@peculiar/asn1-android/build/cjs/key_description.js
275
275
  var require_key_description = /* @__PURE__ */ __commonJSMin(((exports) => {
276
276
  var IntegerSet_1;
277
277
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -664,7 +664,7 @@ var require_key_description = /* @__PURE__ */ __commonJSMin(((exports) => {
664
664
  tslib_1.__decorate([(0, asn1_schema_1.AsnProp)({ type: AuthorizationList })], KeyMintKeyDescription.prototype, "softwareEnforced", void 0);
665
665
  tslib_1.__decorate([(0, asn1_schema_1.AsnProp)({ type: AuthorizationList })], KeyMintKeyDescription.prototype, "hardwareEnforced", void 0);
666
666
  }));
667
- // ../../node_modules/.pnpm/@peculiar+asn1-android@2.11.0/node_modules/@peculiar/asn1-android/build/cjs/nonstandard.js
667
+ // ../../node_modules/.pnpm/@peculiar+asn1-android@2.11.1/node_modules/@peculiar/asn1-android/build/cjs/nonstandard.js
668
668
  var require_nonstandard = /* @__PURE__ */ __commonJSMin(((exports) => {
669
669
  var NonStandardAuthorizationList_1;
670
670
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -741,7 +741,7 @@ var require_nonstandard = /* @__PURE__ */ __commonJSMin(((exports) => {
741
741
  exports.NonStandardKeyMintKeyDescription = NonStandardKeyMintKeyDescription;
742
742
  exports.NonStandardKeyMintKeyDescription = NonStandardKeyMintKeyDescription = tslib_1.__decorate([(0, asn1_schema_1.AsnType)({ type: asn1_schema_1.AsnTypeTypes.Sequence })], NonStandardKeyMintKeyDescription);
743
743
  }));
744
- // ../../node_modules/.pnpm/@peculiar+asn1-android@2.11.0/node_modules/@peculiar/asn1-android/build/cjs/attestation.js
744
+ // ../../node_modules/.pnpm/@peculiar+asn1-android@2.11.1/node_modules/@peculiar/asn1-android/build/cjs/attestation.js
745
745
  var require_attestation = /* @__PURE__ */ __commonJSMin(((exports) => {
746
746
  Object.defineProperty(exports, "__esModule", { value: true });
747
747
  exports.AttestationApplicationId = exports.AttestationPackageInfo = void 0;
@@ -1,6 +1,6 @@
1
- import { Gt as MERGE_EVENT_TYPES, rr as CHECKPOINT_CLOSED_EVENT_TYPES, xi as CHECKPOINT_EVENT_TYPES } from "./dist.js";
2
- import { Ds as settledPoints, Et as removeMergedWorktree, Lt as storyWeight, Nc as forgeRepositoryOf, Or as storyFiles, Pc as isRepositoryPullRequest, Rl as storiesIn, Xu as isSkipped, c as project, mc as storyReviewDone, od as checkpointPayload, pr as targetBranch, ru as loadMethodConfig, sd as truncate, un as resolvePullRequestSettings, ur as deliveryRemote } from "./agent-commands.js";
3
- import "./project-command.js";
1
+ import { Rn as CHECKPOINT_CLOSED_EVENT_TYPES, Xt as MERGE_EVENT_TYPES, oa as CHECKPOINT_EVENT_TYPES } from "./hash.js";
2
+ import { $n as storyWeight, Ka as storyFiles, Mn as removeMergedWorktree, da as targetBranch, ia as deliveryRemote, u as project, vr as resolvePullRequestSettings } from "./agent-commands.js";
3
+ import { Ar as forgeRepositoryOf, As as truncate, Ca as settledPoints, Ea as isSkipped, Ts as checkpointPayload, Va as storiesIn, Vc as methodInstalled, jc as loadMethodConfig, jr as isRepositoryPullRequest, qn as storyReviewDone } from "./map-update.js";
4
4
  // ../../packages/core/dist/journey/merge-point.js
5
5
  /** True when a merge point was opened for the story since it went to review (open, or answered). */
6
6
  function openedSince(checkpoints, id, since) {
@@ -144,7 +144,7 @@ async function goneWorktrees(context, state) {
144
144
  async function followForge(context, options = {}) {
145
145
  try {
146
146
  const journal = context.journal;
147
- if (journal === void 0 || !await context.files.exists(".agentplugged/method.yaml")) return 0;
147
+ if (journal === void 0 || !await methodInstalled(context.files)) return 0;
148
148
  const loaded = await loadMethodConfig(context.files);
149
149
  if (!("config" in loaded)) return 0;
150
150
  const config = loaded.config;
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Max Brunsfeld
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.