@artyfacts/claude 1.3.28 → 1.3.30
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-OAMZVDDD.mjs +1097 -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,9 @@ 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.
|
|
275
|
+
- **CRITICAL: Only use 'create_task' when the task explicitly asks you to generate, plan, or decompose work into subtasks.** For all other tasks, complete the work directly and call 'complete_task'. Do NOT create new tasks as a way to demonstrate, test, or validate your work \u2014 that causes infinite loops.
|
|
273
276
|
- USE THE TOOLS to take action \u2014 don't just describe what you would do.
|
|
274
277
|
|
|
275
278
|
## Guidelines
|
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,9 @@ 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.
|
|
307
|
+
- **CRITICAL: Only use 'create_task' when the task explicitly asks you to generate, plan, or decompose work into subtasks.** For all other tasks, complete the work directly and call 'complete_task'. Do NOT create new tasks as a way to demonstrate, test, or validate your work \u2014 that causes infinite loops.
|
|
305
308
|
- USE THE TOOLS to take action \u2014 don't just describe what you would do.
|
|
306
309
|
|
|
307
310
|
## Guidelines
|
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-OAMZVDDD.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,9 @@ 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.
|
|
173
|
+
- **CRITICAL: Only use 'create_task' when the task explicitly asks you to generate, plan, or decompose work into subtasks.** For all other tasks, complete the work directly and call 'complete_task'. Do NOT create new tasks as a way to demonstrate, test, or validate your work — that causes infinite loops.
|
|
171
174
|
- USE THE TOOLS to take action — don't just describe what you would do.
|
|
172
175
|
|
|
173
176
|
## Guidelines
|