@artyfacts/claude 1.3.27 → 1.3.29
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.
- package/dist/chunk-5GM6JMCK.mjs +1096 -0
- package/dist/chunk-TECOXAZZ.mjs +1094 -0
- package/dist/cli.js +5 -2
- package/dist/cli.mjs +1 -1
- package/dist/index.js +5 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/context.ts +5 -2
package/dist/cli.js
CHANGED
|
@@ -255,7 +255,8 @@ Your job is to complete the assigned task. You have full context about the organ
|
|
|
255
255
|
|
|
256
256
|
You have access to Artyfacts MCP tools. USE THEM to complete your task:
|
|
257
257
|
|
|
258
|
-
- **
|
|
258
|
+
- **list_agents** - List all agents in the organization (call this FIRST when creating tasks)
|
|
259
|
+
- **create_task** - Create a new task under a goal (requires goal_id, should include assigned_to)
|
|
259
260
|
- **create_goal** - Create a new goal (top-level objective)
|
|
260
261
|
- **create_artifact** - Create a new artifact (document output linked to a task, NOT a goal or task itself)
|
|
261
262
|
- **create_section** - Add a chapter/section to an artifact document
|
|
@@ -269,7 +270,8 @@ You have access to Artyfacts MCP tools. USE THEM to complete your task:
|
|
|
269
270
|
IMPORTANT:
|
|
270
271
|
- Tasks and goals are SEPARATE from artifacts. Use **create_task** to create tasks, **create_goal** to create goals.
|
|
271
272
|
- Use **create_artifact** only for document outputs (specs, reports, research) \u2014 never to represent a goal or task.
|
|
272
|
-
- When asked to generate tasks for a goal, use **create_task** with the goal's ID
|
|
273
|
+
- When asked to generate tasks for a goal, FIRST call **list_agents** to see available agents, then use **create_task** with the goal's ID and assign each task to the most appropriate agent based on their role. Do NOT create an artifact.
|
|
274
|
+
- Always assign tasks to an agent using the agent's UUID in the **assigned_to** field. Match tasks to agents by their role description.
|
|
273
275
|
- USE THE TOOLS to take action \u2014 don't just describe what you would do.
|
|
274
276
|
|
|
275
277
|
## Guidelines
|
|
@@ -304,6 +306,7 @@ Format your response as follows:
|
|
|
304
306
|
const goal = context.goal || context.artifact;
|
|
305
307
|
if (goal) {
|
|
306
308
|
parts.push(`## Goal: ${goal.title}`);
|
|
309
|
+
parts.push(`**Goal ID:** ${goal.id}`);
|
|
307
310
|
if (goal.objective) {
|
|
308
311
|
parts.push(`**Objective:** ${goal.objective}`);
|
|
309
312
|
}
|
package/dist/cli.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -287,7 +287,8 @@ Your job is to complete the assigned task. You have full context about the organ
|
|
|
287
287
|
|
|
288
288
|
You have access to Artyfacts MCP tools. USE THEM to complete your task:
|
|
289
289
|
|
|
290
|
-
- **
|
|
290
|
+
- **list_agents** - List all agents in the organization (call this FIRST when creating tasks)
|
|
291
|
+
- **create_task** - Create a new task under a goal (requires goal_id, should include assigned_to)
|
|
291
292
|
- **create_goal** - Create a new goal (top-level objective)
|
|
292
293
|
- **create_artifact** - Create a new artifact (document output linked to a task, NOT a goal or task itself)
|
|
293
294
|
- **create_section** - Add a chapter/section to an artifact document
|
|
@@ -301,7 +302,8 @@ You have access to Artyfacts MCP tools. USE THEM to complete your task:
|
|
|
301
302
|
IMPORTANT:
|
|
302
303
|
- Tasks and goals are SEPARATE from artifacts. Use **create_task** to create tasks, **create_goal** to create goals.
|
|
303
304
|
- Use **create_artifact** only for document outputs (specs, reports, research) \u2014 never to represent a goal or task.
|
|
304
|
-
- When asked to generate tasks for a goal, use **create_task** with the goal's ID
|
|
305
|
+
- When asked to generate tasks for a goal, FIRST call **list_agents** to see available agents, then use **create_task** with the goal's ID and assign each task to the most appropriate agent based on their role. Do NOT create an artifact.
|
|
306
|
+
- Always assign tasks to an agent using the agent's UUID in the **assigned_to** field. Match tasks to agents by their role description.
|
|
305
307
|
- USE THE TOOLS to take action \u2014 don't just describe what you would do.
|
|
306
308
|
|
|
307
309
|
## Guidelines
|
|
@@ -336,6 +338,7 @@ Format your response as follows:
|
|
|
336
338
|
const goal = context.goal || context.artifact;
|
|
337
339
|
if (goal) {
|
|
338
340
|
parts.push(`## Goal: ${goal.title}`);
|
|
341
|
+
parts.push(`**Goal ID:** ${goal.id}`);
|
|
339
342
|
if (goal.objective) {
|
|
340
343
|
parts.push(`**Objective:** ${goal.objective}`);
|
|
341
344
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
promptForApiKey,
|
|
15
15
|
runDeviceAuth,
|
|
16
16
|
saveCredentials
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5GM6JMCK.mjs";
|
|
18
18
|
|
|
19
19
|
// node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
20
20
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
package/package.json
CHANGED
package/src/context.ts
CHANGED
|
@@ -153,7 +153,8 @@ Your job is to complete the assigned task. You have full context about the organ
|
|
|
153
153
|
|
|
154
154
|
You have access to Artyfacts MCP tools. USE THEM to complete your task:
|
|
155
155
|
|
|
156
|
-
- **
|
|
156
|
+
- **list_agents** - List all agents in the organization (call this FIRST when creating tasks)
|
|
157
|
+
- **create_task** - Create a new task under a goal (requires goal_id, should include assigned_to)
|
|
157
158
|
- **create_goal** - Create a new goal (top-level objective)
|
|
158
159
|
- **create_artifact** - Create a new artifact (document output linked to a task, NOT a goal or task itself)
|
|
159
160
|
- **create_section** - Add a chapter/section to an artifact document
|
|
@@ -167,7 +168,8 @@ You have access to Artyfacts MCP tools. USE THEM to complete your task:
|
|
|
167
168
|
IMPORTANT:
|
|
168
169
|
- Tasks and goals are SEPARATE from artifacts. Use **create_task** to create tasks, **create_goal** to create goals.
|
|
169
170
|
- Use **create_artifact** only for document outputs (specs, reports, research) — never to represent a goal or task.
|
|
170
|
-
- When asked to generate tasks for a goal, use **create_task** with the goal's ID
|
|
171
|
+
- When asked to generate tasks for a goal, FIRST call **list_agents** to see available agents, then use **create_task** with the goal's ID and assign each task to the most appropriate agent based on their role. Do NOT create an artifact.
|
|
172
|
+
- Always assign tasks to an agent using the agent's UUID in the **assigned_to** field. Match tasks to agents by their role description.
|
|
171
173
|
- USE THE TOOLS to take action — don't just describe what you would do.
|
|
172
174
|
|
|
173
175
|
## Guidelines
|
|
@@ -209,6 +211,7 @@ Format your response as follows:
|
|
|
209
211
|
const goal = context.goal || context.artifact;
|
|
210
212
|
if (goal) {
|
|
211
213
|
parts.push(`## Goal: ${goal.title}`);
|
|
214
|
+
parts.push(`**Goal ID:** ${goal.id}`);
|
|
212
215
|
if (goal.objective) {
|
|
213
216
|
parts.push(`**Objective:** ${goal.objective}`);
|
|
214
217
|
}
|