@letta-ai/letta-code 0.11.2-next.2 → 0.11.2-next.3

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/letta.js CHANGED
@@ -3237,7 +3237,7 @@ var package_default;
3237
3237
  var init_package = __esm(() => {
3238
3238
  package_default = {
3239
3239
  name: "@letta-ai/letta-code",
3240
- version: "0.11.2-next.2",
3240
+ version: "0.11.2-next.3",
3241
3241
  description: "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
3242
3242
  type: "module",
3243
3243
  bin: {
@@ -77101,4 +77101,4 @@ Error during initialization: ${message}`);
77101
77101
  }
77102
77102
  main();
77103
77103
 
77104
- //# debugId=638326A0AF7C44CC64756E2164756E21
77104
+ //# debugId=97EC206550CD703E64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.11.2-next.2",
3
+ "version": "0.11.2-next.3",
4
4
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -263,7 +263,7 @@ When creating a new skill from scratch, always run the `init-skill.ts` script. T
263
263
  Usage:
264
264
 
265
265
  ```bash
266
- npx ts-node scripts/init-skill.ts <skill-name> --path <output-directory>
266
+ npx tsx <SKILL_DIR>/scripts/init-skill.ts <skill-name> --path <output-directory>
267
267
  ```
268
268
 
269
269
  The script:
@@ -335,13 +335,13 @@ Write instructions for using the skill and its bundled resources.
335
335
  Once development of the skill is complete, it must be packaged into a distributable .skill file that gets shared with the user. The packaging process automatically validates the skill first to ensure it meets all requirements:
336
336
 
337
337
  ```bash
338
- npx ts-node scripts/package-skill.ts <path/to/skill-folder>
338
+ npx tsx <SKILL_DIR>/scripts/package-skill.ts <path/to/skill-folder>
339
339
  ```
340
340
 
341
341
  Optional output directory specification:
342
342
 
343
343
  ```bash
344
- npx ts-node scripts/package-skill.ts <path/to/skill-folder> ./dist
344
+ npx tsx <SKILL_DIR>/scripts/package-skill.ts <path/to/skill-folder> ./dist
345
345
  ```
346
346
 
347
347
  The packaging script will:
@@ -18,7 +18,7 @@ This skill helps you find other agents on the same Letta server.
18
18
  ## Script Usage
19
19
 
20
20
  ```bash
21
- npx ts-node scripts/find-agents.ts [options]
21
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts [options]
22
22
  ```
23
23
 
24
24
  ### Options
@@ -39,7 +39,7 @@ npx ts-node scripts/find-agents.ts [options]
39
39
  Agents created by Letta Code are tagged with `origin:letta-code`. To find only Letta Code agents:
40
40
 
41
41
  ```bash
42
- npx ts-node scripts/find-agents.ts --tags "origin:letta-code"
42
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts --tags "origin:letta-code"
43
43
  ```
44
44
 
45
45
  This is useful when the user is looking for agents they've worked with in Letta Code CLI sessions.
@@ -49,39 +49,39 @@ This is useful when the user is looking for agents they've worked with in Letta
49
49
  If the user has agents created outside Letta Code (via ADE, SDK, etc.), search without the tag filter:
50
50
 
51
51
  ```bash
52
- npx ts-node scripts/find-agents.ts
52
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts
53
53
  ```
54
54
 
55
55
  ## Examples
56
56
 
57
57
  **List all agents (up to 20):**
58
58
  ```bash
59
- npx ts-node scripts/find-agents.ts
59
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts
60
60
  ```
61
61
 
62
62
  **Find agent by exact name:**
63
63
  ```bash
64
- npx ts-node scripts/find-agents.ts --name "ProjectX-v1"
64
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts --name "ProjectX-v1"
65
65
  ```
66
66
 
67
67
  **Search agents by name (fuzzy):**
68
68
  ```bash
69
- npx ts-node scripts/find-agents.ts --query "project"
69
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts --query "project"
70
70
  ```
71
71
 
72
72
  **Find only Letta Code agents:**
73
73
  ```bash
74
- npx ts-node scripts/find-agents.ts --tags "origin:letta-code"
74
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts --tags "origin:letta-code"
75
75
  ```
76
76
 
77
77
  **Find agents with multiple tags:**
78
78
  ```bash
79
- npx ts-node scripts/find-agents.ts --tags "frontend,production" --match-all-tags
79
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts --tags "frontend,production" --match-all-tags
80
80
  ```
81
81
 
82
82
  **Include memory blocks in results:**
83
83
  ```bash
84
- npx ts-node scripts/find-agents.ts --query "project" --include-blocks
84
+ npx tsx <SKILL_DIR>/scripts/find-agents.ts --query "project" --include-blocks
85
85
  ```
86
86
 
87
87
  ## Output
@@ -60,7 +60,7 @@ Example: "What's the ID of the agent you want to migrate memory from?"
60
60
  Inspect what memory blocks the source agent has:
61
61
 
62
62
  ```bash
63
- npx ts-node scripts/get-agent-blocks.ts --agent-id <source-agent-id>
63
+ npx tsx <SKILL_DIR>/scripts/get-agent-blocks.ts --agent-id <source-agent-id>
64
64
  ```
65
65
 
66
66
  This shows each block's ID, label, description, and value.
@@ -71,14 +71,14 @@ For each block you want to migrate, choose copy or share:
71
71
 
72
72
  **To Copy (create independent block):**
73
73
  ```bash
74
- npx ts-node scripts/copy-block.ts --block-id <block-id> [--label <new-label>]
74
+ npx tsx <SKILL_DIR>/scripts/copy-block.ts --block-id <block-id> [--label <new-label>]
75
75
  ```
76
76
 
77
77
  Use `--label` if you already have a block with that label (e.g., `--label project-imported`).
78
78
 
79
79
  **To Share (attach existing block):**
80
80
  ```bash
81
- npx ts-node scripts/attach-block.ts --block-id <block-id>
81
+ npx tsx <SKILL_DIR>/scripts/attach-block.ts --block-id <block-id>
82
82
  ```
83
83
 
84
84
  Add `--read-only` flag to share to make this agent unable to modify the block.
@@ -113,20 +113,20 @@ Scenario: You're a new agent and want to inherit memory from an existing agent "
113
113
 
114
114
  2. **List its blocks:**
115
115
  ```bash
116
- npx ts-node scripts/get-agent-blocks.ts --agent-id agent-abc123
116
+ npx tsx <SKILL_DIR>/scripts/get-agent-blocks.ts --agent-id agent-abc123
117
117
  # Shows: project (block-def456), human (block-ghi789), persona (block-jkl012)
118
118
  ```
119
119
 
120
120
  3. **Copy project knowledge to yourself:**
121
121
  ```bash
122
122
  # If you don't have a 'project' block yet:
123
- npx ts-node scripts/copy-block.ts --block-id block-def456
123
+ npx tsx <SKILL_DIR>/scripts/copy-block.ts --block-id block-def456
124
124
 
125
125
  # If you already have 'project', use --label to rename:
126
- npx ts-node scripts/copy-block.ts --block-id block-def456 --label project-v1
126
+ npx tsx <SKILL_DIR>/scripts/copy-block.ts --block-id block-def456 --label project-v1
127
127
  ```
128
128
 
129
129
  4. **Optionally share human preferences (read-only):**
130
130
  ```bash
131
- npx ts-node scripts/attach-block.ts --block-id block-ghi789 --read-only
131
+ npx tsx <SKILL_DIR>/scripts/attach-block.ts --block-id block-ghi789 --read-only
132
132
  ```