@crewx/sdk 0.8.7-rc.2 → 0.8.7-rc.21

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.
@@ -53,4 +53,10 @@ export declare class ThreadRepository extends BaseSqliteRepository {
53
53
  title?: string;
54
54
  titleLocked?: boolean;
55
55
  }): void;
56
+ togglePin(threadId: string, workspaceId?: string): {
57
+ pinned: boolean;
58
+ } | null;
59
+ toggleStar(threadId: string, workspaceId?: string): {
60
+ starred: boolean;
61
+ } | null;
56
62
  }
@@ -207,6 +207,40 @@ export declare const threads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
207
207
  identity: undefined;
208
208
  generated: undefined;
209
209
  }, {}, {}>;
210
+ pinned: import("drizzle-orm/sqlite-core").SQLiteColumn<{
211
+ name: "pinned";
212
+ tableName: "threads";
213
+ dataType: "number";
214
+ columnType: "SQLiteInteger";
215
+ data: number;
216
+ driverParam: number;
217
+ notNull: true;
218
+ hasDefault: true;
219
+ isPrimaryKey: false;
220
+ isAutoincrement: false;
221
+ hasRuntimeDefault: false;
222
+ enumValues: undefined;
223
+ baseColumn: never;
224
+ identity: undefined;
225
+ generated: undefined;
226
+ }, {}, {}>;
227
+ starred: import("drizzle-orm/sqlite-core").SQLiteColumn<{
228
+ name: "starred";
229
+ tableName: "threads";
230
+ dataType: "number";
231
+ columnType: "SQLiteInteger";
232
+ data: number;
233
+ driverParam: number;
234
+ notNull: true;
235
+ hasDefault: true;
236
+ isPrimaryKey: false;
237
+ isAutoincrement: false;
238
+ hasRuntimeDefault: false;
239
+ enumValues: undefined;
240
+ baseColumn: never;
241
+ identity: undefined;
242
+ generated: undefined;
243
+ }, {}, {}>;
210
244
  };
211
245
  dialect: "sqlite";
212
246
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewx/sdk",
3
- "version": "0.8.7-rc.2",
3
+ "version": "0.8.7-rc.21",
4
4
  "license": "UNLICENSED",
5
5
  "engines": {
6
6
  "node": ">=20.19.0"
@@ -109,6 +109,18 @@ layouts:
109
109
  </agent_profile>
110
110
  {{/if}}
111
111
 
112
+ {{#if documents.active_goals}}
113
+ <crewx_context type="goals">
114
+ {{{documents.active_goals.content}}}
115
+ </crewx_context>
116
+ {{/if}}
117
+
118
+ {{#if documents.today_daily}}
119
+ <crewx_context type="daily">
120
+ {{{documents.today_daily.content}}}
121
+ </crewx_context>
122
+ {{/if}}
123
+
112
124
  {{#if props.showManual}}
113
125
  {{#if documents.crewx_manual.toc}}
114
126
  <document name="CrewX User Manual (TOC)">
@@ -189,6 +201,16 @@ layouts:
189
201
 
190
202
  Types: `exec` (has entrypoint, runs script) | `doc` (no entrypoint, outputs markdown)
191
203
 
204
+ ### Work Instruction (`$CREWX_CLI wi`)
205
+ Structured task delegation. Create and issue work instructions to agents.
206
+
207
+ ```bash
208
+ {{env.CREWX_CLI}} wi usage # Show detailed guide
209
+ ```
210
+
211
+ Template: docs/wi/WI-TEMPLATE.md
212
+ → Full usage: `{{env.CREWX_CLI}} wi usage`
213
+
192
214
  ### Workflow (`{{env.CREWX_CLI}} workflow`)
193
215
  Semantic workflow — structured collaboration recipes for agents. Not auto-executed; agents follow the flow step by step.
194
216