@ycodium-ai/plugin-team 0.2.5412 → 0.2.5503

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 (2) hide show
  1. package/dist/index.js +36 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ var __export = (target, all3) => {
8
8
  import { definePlugin } from "@ycodium-ai/plugin-api";
9
9
 
10
10
  // ../../packages/plugin-api/src/version.ts
11
- var PLUGIN_API_VERSION = 170;
11
+ var PLUGIN_API_VERSION = 173;
12
12
 
13
13
  // ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=2379c0b6f6365efdc960ef467ae589e40827f36fbfe7992e14580cecfa87fd2b/node_modules/effect/dist/Pipeable.js
14
14
  var pipeArguments = (self, args2) => {
@@ -9877,6 +9877,7 @@ function registerCoordinator(ctx, runtime) {
9877
9877
  homeOnly: true,
9878
9878
  remoteAvailable: true,
9879
9879
  description: coordinatorMessage("createTool"),
9880
+ argumentUsage: { valid: { requestId: "request-1", name: "example" } },
9880
9881
  inputSchema: toolSchema(CreateMemberToolInput),
9881
9882
  handle: (input, invocation) => runTool(() => runtime.create(decodeCreate(input), invocation))
9882
9883
  },
@@ -9885,6 +9886,14 @@ function registerCoordinator(ctx, runtime) {
9885
9886
  homeOnly: true,
9886
9887
  remoteAvailable: true,
9887
9888
  description: coordinatorMessage("updateTool"),
9889
+ argumentUsage: {
9890
+ valid: {
9891
+ requestId: "request-1",
9892
+ memberId: "<memberId>",
9893
+ expectedVersion: 1,
9894
+ name: "Reviewer"
9895
+ }
9896
+ },
9888
9897
  inputSchema: toolSchema(UpdateMemberToolInput),
9889
9898
  handle: (input, invocation) => runTool(() => runtime.update(decodeUpdate(input), invocation))
9890
9899
  },
@@ -9893,6 +9902,7 @@ function registerCoordinator(ctx, runtime) {
9893
9902
  homeOnly: true,
9894
9903
  remoteAvailable: true,
9895
9904
  description: coordinatorMessage("removeTool"),
9905
+ argumentUsage: { valid: { requestId: "request-1", memberId: "<memberId>" } },
9896
9906
  inputSchema: toolSchema(MemberRefToolInput),
9897
9907
  handle: (input, invocation) => runTool(() => runtime.remove(decodeRef(input), invocation))
9898
9908
  },
@@ -9901,6 +9911,7 @@ function registerCoordinator(ctx, runtime) {
9901
9911
  homeOnly: true,
9902
9912
  remoteAvailable: true,
9903
9913
  description: coordinatorMessage("restoreTool"),
9914
+ argumentUsage: { valid: { requestId: "request-1", memberId: "<memberId>" } },
9904
9915
  inputSchema: toolSchema(MemberRefToolInput),
9905
9916
  handle: (input, invocation) => runTool(() => runtime.restore(decodeRef(input), invocation))
9906
9917
  }
@@ -15141,6 +15152,7 @@ function registerHandbook(ctx, runtime) {
15141
15152
  homeOnly: true,
15142
15153
  remoteAvailable: true,
15143
15154
  description: handbookMessage("ackTool"),
15155
+ argumentUsage: { valid: { release: 1 } },
15144
15156
  inputSchema: toolSchema(AcknowledgeInput),
15145
15157
  handle: (input, invocation) => runTool(() => runtime.ack(decodeAcknowledgement(input).release, invocation))
15146
15158
  },
@@ -15148,6 +15160,19 @@ function registerHandbook(ctx, runtime) {
15148
15160
  name: "publish_handbook",
15149
15161
  homeOnly: true,
15150
15162
  description: handbookMessage("publishTool"),
15163
+ argumentUsage: {
15164
+ valid: {
15165
+ requestId: "request-1",
15166
+ expectedRelease: 0,
15167
+ pages: [
15168
+ {
15169
+ kind: "handbook_rules",
15170
+ baseRevision: null,
15171
+ body: "Review changes before release."
15172
+ }
15173
+ ]
15174
+ }
15175
+ },
15151
15176
  inputSchema: toolSchema(PublishInput),
15152
15177
  handle: (input, invocation) => runTool(
15153
15178
  () => runtime.publish({ operation: "publish", ...decodePublish(input) }, invocation)
@@ -15157,6 +15182,7 @@ function registerHandbook(ctx, runtime) {
15157
15182
  name: "revert_handbook",
15158
15183
  homeOnly: true,
15159
15184
  description: handbookMessage("revertTool"),
15185
+ argumentUsage: { valid: { requestId: "request-1", expectedRelease: 2, toRelease: 1 } },
15160
15186
  inputSchema: toolSchema(RevertInput),
15161
15187
  handle: (input, invocation) => runTool(
15162
15188
  () => runtime.publish({ operation: "revert", ...decodeRevert(input) }, invocation)
@@ -16441,6 +16467,9 @@ function registerTeamTools(ctx, deps, queue) {
16441
16467
  name: "open",
16442
16468
  homeOnly: true,
16443
16469
  description: teamMessage("openTool"),
16470
+ argumentUsage: {
16471
+ valid: { requestId: "request-1", name: "Docs", goal: "Review the handbook." }
16472
+ },
16444
16473
  inputSchema: toolSchema(TeamOpenInput),
16445
16474
  handle: (input, invocation) => runTool(() => serial(() => opener.open(input, invocation)))
16446
16475
  },
@@ -16449,6 +16478,7 @@ function registerTeamTools(ctx, deps, queue) {
16449
16478
  homeOnly: true,
16450
16479
  remoteAvailable: true,
16451
16480
  description: teamMessage("setMembersTool"),
16481
+ argumentUsage: { valid: { requestId: "request-1", add: ["member-1"] } },
16452
16482
  inputSchema: toolSchema(TeamSetMembersInput),
16453
16483
  handle: (input, invocation) => runTool(() => serial(() => changer.setMembers(input, invocation)))
16454
16484
  },
@@ -16457,6 +16487,7 @@ function registerTeamTools(ctx, deps, queue) {
16457
16487
  homeOnly: true,
16458
16488
  remoteAvailable: true,
16459
16489
  description: teamMessage("setLeadTool"),
16490
+ argumentUsage: { valid: { requestId: "request-1", memberId: "<memberId>" } },
16460
16491
  inputSchema: toolSchema(TeamSetLeadInput),
16461
16492
  handle: (input, invocation) => runTool(() => serial(() => leadChanger.setLead(input, invocation)))
16462
16493
  },
@@ -16465,6 +16496,7 @@ function registerTeamTools(ctx, deps, queue) {
16465
16496
  homeOnly: true,
16466
16497
  remoteAvailable: true,
16467
16498
  description: teamMessage("rosterOverviewTool"),
16499
+ argumentUsage: { valid: {} },
16468
16500
  inputSchema: { type: "object", properties: {}, additionalProperties: false },
16469
16501
  handle: (_input, invocation) => runTool(async () => {
16470
16502
  if (invocation.projectId === null)
@@ -17958,6 +17990,7 @@ function registerTrial(ctx, runtime) {
17958
17990
  homeOnly: true,
17959
17991
  remoteAvailable: true,
17960
17992
  description: trialMessage("startedTool"),
17993
+ argumentUsage: { valid: { trialId: "<trialId>" } },
17961
17994
  inputSchema: toolSchema(TrialStartedInput),
17962
17995
  handle: (input, invocation) => runTool(() => runtime.receipts.started(decodeStarted(input).trialId, invocation))
17963
17996
  },
@@ -17966,6 +17999,7 @@ function registerTrial(ctx, runtime) {
17966
17999
  homeOnly: true,
17967
18000
  remoteAvailable: true,
17968
18001
  description: trialMessage("doneTool"),
18002
+ argumentUsage: { valid: { trialId: "<trialId>" } },
17969
18003
  inputSchema: toolSchema(TrialDoneInput),
17970
18004
  handle: (input, invocation) => runTool(() => {
17971
18005
  const { trialId, release } = decodeDone(input);
@@ -17977,6 +18011,7 @@ function registerTrial(ctx, runtime) {
17977
18011
  homeOnly: true,
17978
18012
  remoteAvailable: true,
17979
18013
  description: trialMessage("retryTool"),
18014
+ argumentUsage: { valid: { memberId: "<memberId>" } },
17980
18015
  inputSchema: toolSchema(RetryTrialToolInput),
17981
18016
  handle: (input, invocation) => runTool(() => runtime.retryAsLead(decodeLeadRetry(input).memberId, invocation))
17982
18017
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-team",
3
- "version": "0.2.5412",
3
+ "version": "0.2.5503",
4
4
  "description": "A project team roster with members, a lead, and goals.",
5
5
  "keywords": [
6
6
  "teams",
@@ -34,10 +34,10 @@
34
34
  "tailwindcss": "^4.0.0",
35
35
  "typescript": "~6.0.3",
36
36
  "vite-plus": "0.2.2",
37
- "@ycodium-ai/plugin-api": "0.2.0",
38
- "ycodium-system-text": "0.0.0",
37
+ "@ycodium-ai/plugin-api": "0.2.5503",
38
+ "ycodium-full-access-mode": "0.0.0",
39
39
  "ycodium-react-test-harness": "0.0.0",
40
- "ycodium-full-access-mode": "0.0.0"
40
+ "ycodium-system-text": "0.0.0"
41
41
  },
42
42
  "ycodium": {
43
43
  "plugin": "./dist/index.js",