@letta-ai/letta-code 0.34.36 → 0.34.38

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 (93) hide show
  1. package/dist/app-server-client.cjs +53 -1
  2. package/dist/app-server-client.cjs.map +3 -3
  3. package/dist/app-server-client.js +53 -1
  4. package/dist/app-server-client.js.map +3 -3
  5. package/dist/mcp-client.js +2 -2
  6. package/dist/mcp-client.js.map +1 -1
  7. package/dist/mcp-oauth.js +2 -2
  8. package/dist/mcp-oauth.js.map +1 -1
  9. package/dist/types/agent/memory-git-hooks.d.ts +2 -0
  10. package/dist/types/agent/memory-git-hooks.d.ts.map +1 -1
  11. package/dist/types/agent/subagent-events.d.ts +30 -0
  12. package/dist/types/agent/subagent-events.d.ts.map +1 -0
  13. package/dist/types/agent/subagent-state.d.ts +38 -0
  14. package/dist/types/agent/subagent-state.d.ts.map +1 -1
  15. package/dist/types/agent/subagents/manager.d.ts.map +1 -1
  16. package/dist/types/agent/subagents/remote-turn-wait.d.ts +6 -1
  17. package/dist/types/agent/subagents/remote-turn-wait.d.ts.map +1 -1
  18. package/dist/types/agent/subagents/subagent-stream.d.ts +30 -0
  19. package/dist/types/agent/subagents/subagent-stream.d.ts.map +1 -1
  20. package/dist/types/app-server-client.d.ts +4 -1
  21. package/dist/types/app-server-client.d.ts.map +1 -1
  22. package/dist/types/backend/api/environments.d.ts +2 -0
  23. package/dist/types/backend/api/environments.d.ts.map +1 -1
  24. package/dist/types/backend/local/initial-memory.d.ts +1 -0
  25. package/dist/types/backend/local/initial-memory.d.ts.map +1 -1
  26. package/dist/types/cron/runner.d.ts.map +1 -1
  27. package/dist/types/headless-super-run-wait.d.ts +9 -0
  28. package/dist/types/headless-super-run-wait.d.ts.map +1 -1
  29. package/dist/types/queue/queue-runtime.d.ts +2 -0
  30. package/dist/types/queue/queue-runtime.d.ts.map +1 -1
  31. package/dist/types/reminders/disk-space.d.ts +12 -0
  32. package/dist/types/reminders/disk-space.d.ts.map +1 -1
  33. package/dist/types/runtime-context.d.ts +6 -0
  34. package/dist/types/runtime-context.d.ts.map +1 -1
  35. package/dist/types/tools/impl/claude-stream-session.d.ts +19 -2
  36. package/dist/types/tools/impl/claude-stream-session.d.ts.map +1 -1
  37. package/dist/types/tools/impl/codex-app-server-payloads.d.ts +23 -0
  38. package/dist/types/tools/impl/codex-app-server-payloads.d.ts.map +1 -0
  39. package/dist/types/tools/impl/codex-app-server.d.ts +8 -4
  40. package/dist/types/tools/impl/codex-app-server.d.ts.map +1 -1
  41. package/dist/types/tools/impl/cursor-session.d.ts +1 -1
  42. package/dist/types/tools/impl/cursor-session.d.ts.map +1 -1
  43. package/dist/types/tools/impl/external-coding-agent-task.d.ts.map +1 -1
  44. package/dist/types/tools/impl/external-coding-agent.d.ts +33 -4
  45. package/dist/types/tools/impl/external-coding-agent.d.ts.map +1 -1
  46. package/dist/types/tools/impl/external-tool-call.d.ts +29 -0
  47. package/dist/types/tools/impl/external-tool-call.d.ts.map +1 -1
  48. package/dist/types/tools/impl/monitor-timeout.d.ts +13 -1
  49. package/dist/types/tools/impl/monitor-timeout.d.ts.map +1 -1
  50. package/dist/types/tools/impl/native-session-capture.d.ts +1 -0
  51. package/dist/types/tools/impl/native-session-capture.d.ts.map +1 -1
  52. package/dist/types/tools/impl/opencode-server.d.ts +2 -0
  53. package/dist/types/tools/impl/opencode-server.d.ts.map +1 -1
  54. package/dist/types/tools/impl/opencode-session.d.ts +4 -1
  55. package/dist/types/tools/impl/opencode-session.d.ts.map +1 -1
  56. package/dist/types/tools/impl/remote-external-coding-agent.d.ts.map +1 -1
  57. package/dist/types/tools/impl/remote-subagent-events.d.ts +18 -0
  58. package/dist/types/tools/impl/remote-subagent-events.d.ts.map +1 -0
  59. package/dist/types/tools/impl/send-agent-message.d.ts +2 -0
  60. package/dist/types/tools/impl/send-agent-message.d.ts.map +1 -1
  61. package/dist/types/tools/impl/task-transcript.d.ts +85 -0
  62. package/dist/types/tools/impl/task-transcript.d.ts.map +1 -1
  63. package/dist/types/tools/impl/task.d.ts.map +1 -1
  64. package/dist/types/tools/impl/workflow.d.ts.map +1 -1
  65. package/dist/types/tools/secret-substitution.d.ts +7 -0
  66. package/dist/types/tools/secret-substitution.d.ts.map +1 -1
  67. package/dist/types/tools/tool-definitions.d.ts.map +1 -1
  68. package/dist/types/tools/toolset.d.ts +2 -0
  69. package/dist/types/tools/toolset.d.ts.map +1 -1
  70. package/dist/types/types/app-server-protocol.d.ts +3 -3
  71. package/dist/types/types/app-server-protocol.d.ts.map +1 -1
  72. package/dist/types/types/protocol_v2.d.ts +6 -2
  73. package/dist/types/types/protocol_v2.d.ts.map +1 -1
  74. package/dist/types/types/subagent-protocol.d.ts +48 -0
  75. package/dist/types/types/subagent-protocol.d.ts.map +1 -1
  76. package/dist/types/utils/message-queue-bridge.d.ts +2 -0
  77. package/dist/types/utils/message-queue-bridge.d.ts.map +1 -1
  78. package/dist/types/utils/process-liveness.d.ts.map +1 -1
  79. package/dist/types/utils/task-notifications.d.ts +2 -0
  80. package/dist/types/utils/task-notifications.d.ts.map +1 -1
  81. package/dist/types/websocket/listener/protocol-outbound.d.ts +2 -4
  82. package/dist/types/websocket/listener/protocol-outbound.d.ts.map +1 -1
  83. package/dist/types/websocket/listener/queue.d.ts.map +1 -1
  84. package/dist/types/websocket/listener/subagent-state-cache.d.ts +16 -0
  85. package/dist/types/websocket/listener/subagent-state-cache.d.ts.map +1 -0
  86. package/dist/types/websocket/listener/types.d.ts +2 -0
  87. package/dist/types/websocket/listener/types.d.ts.map +1 -1
  88. package/letta.js +2026 -675
  89. package/npm-shrinkwrap.json +103 -80
  90. package/package.json +2 -2
  91. package/scripts/isolated-unit-tests.json +6 -0
  92. package/scripts/source-file-size-baseline.json +1 -2
  93. package/skills/speech-generation/SKILL.md +26 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.36",
3
+ "version": "0.34.38",
4
4
  "lockfileVersion": 3,
5
5
  "packages": {
6
6
  "node_modules/@alcalzone/ansi-tokenize": {
@@ -2025,42 +2025,65 @@
2025
2025
  "license": "Apache-2.0"
2026
2026
  },
2027
2027
  "node_modules/@shikijs/core": {
2028
- "version": "4.5.0",
2029
- "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-4.5.0.tgz",
2030
- "integrity": "sha512-6CIgwq+bt2JZ3OSjb/nBkkwEf/CfpHcbam+Mg5Pllco7HAGRQ2/EFhZrrJtbyNTgKwknfVS+llsXGygiDGwJWw==",
2028
+ "version": "4.6.0",
2029
+ "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-4.6.0.tgz",
2030
+ "integrity": "sha512-bfd4OKgvoyXYiYmMRuleA656P4V7M/Du9lcTl38Ngm6KszMj7bq4J1IGZwSYR4c95Tv5UQALtYNWUwaI9UT3xw==",
2031
2031
  "license": "MIT",
2032
2032
  "dependencies": {
2033
- "@shikijs/primitive": "4.5.0",
2034
- "@shikijs/types": "4.5.0",
2035
- "@shikijs/vscode-textmate": "^10.0.2",
2033
+ "@shikijs/primitive": "4.6.0",
2034
+ "@shikijs/types": "4.6.0",
2035
+ "@shikijs/vscode-textmate": "^10.1.0",
2036
2036
  "@types/hast": "^3.0.5",
2037
- "hast-util-to-html": "^9.0.5"
2037
+ "hast-util-to-html": "^9.0.6"
2038
2038
  },
2039
2039
  "engines": {
2040
2040
  "node": ">=20"
2041
2041
  }
2042
2042
  },
2043
2043
  "node_modules/@shikijs/core/node_modules/@shikijs/types": {
2044
- "version": "4.5.0",
2045
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz",
2046
- "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==",
2044
+ "version": "4.6.0",
2045
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz",
2046
+ "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==",
2047
2047
  "license": "MIT",
2048
2048
  "dependencies": {
2049
- "@shikijs/vscode-textmate": "^10.0.2",
2049
+ "@shikijs/vscode-textmate": "^10.1.0",
2050
2050
  "@types/hast": "^3.0.5"
2051
2051
  },
2052
2052
  "engines": {
2053
2053
  "node": ">=20"
2054
2054
  }
2055
2055
  },
2056
+ "node_modules/@shikijs/core/node_modules/hast-util-to-html": {
2057
+ "version": "9.0.6",
2058
+ "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.6.tgz",
2059
+ "integrity": "sha512-1SZUxCN3TtJAE7e2BQN2MBHsoZ1gnmi9GoCP5Di59CSWptIezSAW09yDZyVbanb78V9eCwrKqdQsjtfVTxYHWA==",
2060
+ "license": "MIT",
2061
+ "dependencies": {
2062
+ "@types/hast": "^3.0.0",
2063
+ "@types/unist": "^3.0.0",
2064
+ "ccount": "^2.0.0",
2065
+ "comma-separated-tokens": "^2.0.0",
2066
+ "hast-util-whitespace": "^3.0.0",
2067
+ "html-void-elements": "^3.0.0",
2068
+ "mdast-util-to-hast": "^13.0.0",
2069
+ "property-information": "^7.0.0",
2070
+ "space-separated-tokens": "^2.0.0",
2071
+ "stringify-entities": "^4.0.0",
2072
+ "zwitch": "^2.0.4"
2073
+ },
2074
+ "funding": {
2075
+ "type": "opencollective",
2076
+ "url": "https://opencollective.com/unified"
2077
+ }
2078
+ },
2056
2079
  "node_modules/@shikijs/engine-javascript": {
2057
- "version": "4.5.0",
2058
- "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-4.5.0.tgz",
2059
- "integrity": "sha512-Ed6UdEj84LyYkwnxM5CvSMWAD+id9ExTYri0/+x41U9zrgNifPSS9lZm0JqBP0VfYI8yr8tY5nbNq9+p9R0kFA==",
2080
+ "version": "4.6.0",
2081
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-4.6.0.tgz",
2082
+ "integrity": "sha512-K0oqxFoL+kEMdz89mHLFO15Tsbv3kFZ6WR1cXZKMvLSc+oqaM00A6pyga1qSeXB22dP0tTiSApRcGBaKWsEccg==",
2060
2083
  "license": "MIT",
2061
2084
  "dependencies": {
2062
- "@shikijs/types": "4.5.0",
2063
- "@shikijs/vscode-textmate": "^10.0.2",
2085
+ "@shikijs/types": "4.6.0",
2086
+ "@shikijs/vscode-textmate": "^10.1.0",
2064
2087
  "oniguruma-to-es": "^4.3.6"
2065
2088
  },
2066
2089
  "engines": {
@@ -2068,12 +2091,12 @@
2068
2091
  }
2069
2092
  },
2070
2093
  "node_modules/@shikijs/engine-javascript/node_modules/@shikijs/types": {
2071
- "version": "4.5.0",
2072
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz",
2073
- "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==",
2094
+ "version": "4.6.0",
2095
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz",
2096
+ "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==",
2074
2097
  "license": "MIT",
2075
2098
  "dependencies": {
2076
- "@shikijs/vscode-textmate": "^10.0.2",
2099
+ "@shikijs/vscode-textmate": "^10.1.0",
2077
2100
  "@types/hast": "^3.0.5"
2078
2101
  },
2079
2102
  "engines": {
@@ -2081,25 +2104,25 @@
2081
2104
  }
2082
2105
  },
2083
2106
  "node_modules/@shikijs/engine-oniguruma": {
2084
- "version": "4.5.0",
2085
- "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-4.5.0.tgz",
2086
- "integrity": "sha512-dKVmbJecVdB9recl8a/CU4jdpNXyjJQrIcesIkpS70s5HS02ohpnCSpMUbotPnEUzbAcLQ+S4hwZYbkBBiTcJw==",
2107
+ "version": "4.6.0",
2108
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-4.6.0.tgz",
2109
+ "integrity": "sha512-aggd6Q7SuJOXNnsUbfG2XesxBJKBMAw/PDTUo9PyRjMaaJJ2dNrI+q0C+25ARXAK9yLHAlwxc9oRT2u68YKZ7w==",
2087
2110
  "license": "MIT",
2088
2111
  "dependencies": {
2089
- "@shikijs/types": "4.5.0",
2090
- "@shikijs/vscode-textmate": "^10.0.2"
2112
+ "@shikijs/types": "4.6.0",
2113
+ "@shikijs/vscode-textmate": "^10.1.0"
2091
2114
  },
2092
2115
  "engines": {
2093
2116
  "node": ">=20"
2094
2117
  }
2095
2118
  },
2096
2119
  "node_modules/@shikijs/engine-oniguruma/node_modules/@shikijs/types": {
2097
- "version": "4.5.0",
2098
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz",
2099
- "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==",
2120
+ "version": "4.6.0",
2121
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz",
2122
+ "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==",
2100
2123
  "license": "MIT",
2101
2124
  "dependencies": {
2102
- "@shikijs/vscode-textmate": "^10.0.2",
2125
+ "@shikijs/vscode-textmate": "^10.1.0",
2103
2126
  "@types/hast": "^3.0.5"
2104
2127
  },
2105
2128
  "engines": {
@@ -2119,13 +2142,13 @@
2119
2142
  }
2120
2143
  },
2121
2144
  "node_modules/@shikijs/primitive": {
2122
- "version": "4.5.0",
2123
- "resolved": "https://registry.npmjs.org/@shikijs/primitive/-/primitive-4.5.0.tgz",
2124
- "integrity": "sha512-UM7ShlA8oz0OWxLLO8BmO9Ip6fVqdkt8yF0EH7nOCqHfrx1eEAzF0ZUVK7L+I8NEgeu1PEWSRlxaiPPeCb4iDg==",
2145
+ "version": "4.6.0",
2146
+ "resolved": "https://registry.npmjs.org/@shikijs/primitive/-/primitive-4.6.0.tgz",
2147
+ "integrity": "sha512-c54+TQEo9ToqgfL/AU8FpjnV09+GA9Oa7M5ROkkXteZfp5XzpAJGXjjvZQFQioJOwm/w/6Z3lIzQstAkl8coag==",
2125
2148
  "license": "MIT",
2126
2149
  "dependencies": {
2127
- "@shikijs/types": "4.5.0",
2128
- "@shikijs/vscode-textmate": "^10.0.2",
2150
+ "@shikijs/types": "4.6.0",
2151
+ "@shikijs/vscode-textmate": "^10.1.0",
2129
2152
  "@types/hast": "^3.0.5"
2130
2153
  },
2131
2154
  "engines": {
@@ -2133,12 +2156,12 @@
2133
2156
  }
2134
2157
  },
2135
2158
  "node_modules/@shikijs/primitive/node_modules/@shikijs/types": {
2136
- "version": "4.5.0",
2137
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz",
2138
- "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==",
2159
+ "version": "4.6.0",
2160
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz",
2161
+ "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==",
2139
2162
  "license": "MIT",
2140
2163
  "dependencies": {
2141
- "@shikijs/vscode-textmate": "^10.0.2",
2164
+ "@shikijs/vscode-textmate": "^10.1.0",
2142
2165
  "@types/hast": "^3.0.5"
2143
2166
  },
2144
2167
  "engines": {
@@ -2146,24 +2169,24 @@
2146
2169
  }
2147
2170
  },
2148
2171
  "node_modules/@shikijs/themes": {
2149
- "version": "4.5.0",
2150
- "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.5.0.tgz",
2151
- "integrity": "sha512-zGb87H3UBbpuI4yoh5UguB1XbU+2BDU3kflM7UfZ+Cy2hWo9lBtqjSVK20gmLY6ukYl040hAypGXMgud9vul8Q==",
2172
+ "version": "4.6.0",
2173
+ "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.6.0.tgz",
2174
+ "integrity": "sha512-qHAVAs80RiGD+IRuH9G+JPDOEc9A/kHsng4EzCUCwB9bLzW6Z0y9WETh2YyCcADJBmfrIaJ1Jp7KBNP6FHkgtQ==",
2152
2175
  "license": "MIT",
2153
2176
  "dependencies": {
2154
- "@shikijs/types": "4.5.0"
2177
+ "@shikijs/types": "4.6.0"
2155
2178
  },
2156
2179
  "engines": {
2157
2180
  "node": ">=20"
2158
2181
  }
2159
2182
  },
2160
2183
  "node_modules/@shikijs/themes/node_modules/@shikijs/types": {
2161
- "version": "4.5.0",
2162
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz",
2163
- "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==",
2184
+ "version": "4.6.0",
2185
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz",
2186
+ "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==",
2164
2187
  "license": "MIT",
2165
2188
  "dependencies": {
2166
- "@shikijs/vscode-textmate": "^10.0.2",
2189
+ "@shikijs/vscode-textmate": "^10.1.0",
2167
2190
  "@types/hast": "^3.0.5"
2168
2191
  },
2169
2192
  "engines": {
@@ -2993,9 +3016,9 @@
2993
3016
  }
2994
3017
  },
2995
3018
  "node_modules/cron-parser": {
2996
- "version": "5.10.2",
2997
- "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.2.tgz",
2998
- "integrity": "sha512-JfAYMY0LZaWQTuict8PhtF/ksSnq8xefSDmQUnnoqvkPYkU/y3UP0DTWzJKFBz0P1IXsDG8q0vY3zHkoFZOhvw==",
3019
+ "version": "5.10.3",
3020
+ "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-5.10.3.tgz",
3021
+ "integrity": "sha512-Fwlmlgiyoj5e7XDCy5T3ueFd3imgt714k7xjAzhkOBUrUgQxWtsjS7kWSEN3efDX34bebxBJAmPoCSisHvjlpw==",
2999
3022
  "license": "MIT",
3000
3023
  "dependencies": {
3001
3024
  "luxon": "^3.7.2"
@@ -3696,9 +3719,9 @@
3696
3719
  }
3697
3720
  },
3698
3721
  "node_modules/hono": {
3699
- "version": "4.13.14",
3700
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.14.tgz",
3701
- "integrity": "sha512-yhRLQ21U6qa9Hsu2N7Qcbh8tE+WKEcoErjIo56LeSGiGXGp9sA7UpE86Ui9uexb61KakiGwuHMn2QdV7w6i6kQ==",
3722
+ "version": "4.13.16",
3723
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.16.tgz",
3724
+ "integrity": "sha512-AOLOEhvrV+iH92xXCnFr/5+3KjPKcI3xP63XJtX5spAnkznPdHijlIsUTpi7/9EhWqrTCekw5c5zh1K+YsVw7A==",
3702
3725
  "license": "MIT",
3703
3726
  "engines": {
3704
3727
  "node": ">=16.9.0"
@@ -3969,9 +3992,9 @@
3969
3992
  "license": "ISC"
3970
3993
  },
3971
3994
  "node_modules/jose": {
3972
- "version": "6.2.14",
3973
- "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.14.tgz",
3974
- "integrity": "sha512-3JasLuki1NRLQvY4wCoC37KZk4qxoBx2k2aFqLxT84IezqW0bkJKnNtxnZj/Fu1xsQivoc/lytxaRHJoGLjJ1A==",
3995
+ "version": "6.2.15",
3996
+ "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.15.tgz",
3997
+ "integrity": "sha512-qdF6ewcZARtef63fJ9AKKZPgxw+t7USH6HLXYcD4CrdmSvDp79rpJSPFEKc90QBeGS63u1KQtN2MZQHC0yDIzA==",
3975
3998
  "license": "MIT",
3976
3999
  "funding": {
3977
4000
  "url": "https://github.com/sponsors/panva"
@@ -4992,18 +5015,18 @@
4992
5015
  }
4993
5016
  },
4994
5017
  "node_modules/shiki": {
4995
- "version": "4.5.0",
4996
- "resolved": "https://registry.npmjs.org/shiki/-/shiki-4.5.0.tgz",
4997
- "integrity": "sha512-OcRW72ngQvc+MSVWBRIovC/BTW589iUE/Vxav7VeM4RcY9MUjqB+IR6ILG1k9nuW6LiG/nct9uma4/MBtnZbmQ==",
4998
- "license": "MIT",
4999
- "dependencies": {
5000
- "@shikijs/core": "4.5.0",
5001
- "@shikijs/engine-javascript": "4.5.0",
5002
- "@shikijs/engine-oniguruma": "4.5.0",
5003
- "@shikijs/langs": "4.5.0",
5004
- "@shikijs/themes": "4.5.0",
5005
- "@shikijs/types": "4.5.0",
5006
- "@shikijs/vscode-textmate": "^10.0.2",
5018
+ "version": "4.6.0",
5019
+ "resolved": "https://registry.npmjs.org/shiki/-/shiki-4.6.0.tgz",
5020
+ "integrity": "sha512-imjLsVHgPuWhvpU3P+zOekvMYqnel7QmKsFC4Sn0fCuAvaaalBsxwKEsrU8Ko5BdFnZA6Go/8a0RzahS634UgA==",
5021
+ "license": "MIT",
5022
+ "dependencies": {
5023
+ "@shikijs/core": "4.6.0",
5024
+ "@shikijs/engine-javascript": "4.6.0",
5025
+ "@shikijs/engine-oniguruma": "4.6.0",
5026
+ "@shikijs/langs": "4.6.0",
5027
+ "@shikijs/themes": "4.6.0",
5028
+ "@shikijs/types": "4.6.0",
5029
+ "@shikijs/vscode-textmate": "^10.1.0",
5007
5030
  "@types/hast": "^3.0.5"
5008
5031
  },
5009
5032
  "engines": {
@@ -5011,24 +5034,24 @@
5011
5034
  }
5012
5035
  },
5013
5036
  "node_modules/shiki/node_modules/@shikijs/langs": {
5014
- "version": "4.5.0",
5015
- "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.5.0.tgz",
5016
- "integrity": "sha512-wwBTqwduXSz0X4v9Qa2EWeFaYJEw1clCncWjoRNQRbVDu3SPRTRWucnouYapKj3b8Q+sk/41Vbc4B5c8nuYzLA==",
5037
+ "version": "4.6.0",
5038
+ "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.6.0.tgz",
5039
+ "integrity": "sha512-1yMEX3oCVV54LUq/ovfpRkDQoYDkcvjSWFFa/YLUDMiSoRzMi2uxLJYbv41ahT8Lu9lFMaa7hecd3Q39trqUyg==",
5017
5040
  "license": "MIT",
5018
5041
  "dependencies": {
5019
- "@shikijs/types": "4.5.0"
5042
+ "@shikijs/types": "4.6.0"
5020
5043
  },
5021
5044
  "engines": {
5022
5045
  "node": ">=20"
5023
5046
  }
5024
5047
  },
5025
5048
  "node_modules/shiki/node_modules/@shikijs/types": {
5026
- "version": "4.5.0",
5027
- "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz",
5028
- "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==",
5049
+ "version": "4.6.0",
5050
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.6.0.tgz",
5051
+ "integrity": "sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==",
5029
5052
  "license": "MIT",
5030
5053
  "dependencies": {
5031
- "@shikijs/vscode-textmate": "^10.0.2",
5054
+ "@shikijs/vscode-textmate": "^10.1.0",
5032
5055
  "@types/hast": "^3.0.5"
5033
5056
  },
5034
5057
  "engines": {
@@ -5562,9 +5585,9 @@
5562
5585
  "license": "ISC"
5563
5586
  },
5564
5587
  "node_modules/ws": {
5565
- "version": "8.22.0",
5566
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",
5567
- "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",
5588
+ "version": "8.22.1",
5589
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.1.tgz",
5590
+ "integrity": "sha512-oyL6OPYme/CmiFvNuGzeoxCJ4nOrZE2O1FwM9MWM1AsGri6nLXB2pg+lNA8aLeXMSav0J6eIVS1j6vUPzUtK9g==",
5568
5591
  "license": "MIT",
5569
5592
  "engines": {
5570
5593
  "node": ">=10.0.0"
@@ -5633,7 +5656,7 @@
5633
5656
  },
5634
5657
  "": {
5635
5658
  "name": "@letta-ai/letta-code",
5636
- "version": "0.34.36",
5659
+ "version": "0.34.38",
5637
5660
  "dependencies": {
5638
5661
  "@cursor/sdk": "1.1.0",
5639
5662
  "@earendil-works/pi-ai": "^0.99.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letta-ai/letta-code",
3
- "version": "0.34.36",
3
+ "version": "0.34.38",
4
4
  "lettaStartupLogProtocol": 1,
5
5
  "lettaConfigDirProtocol": 1,
6
6
  "description": "Letta Code is a CLI tool for interacting with stateful Letta agents from the terminal.",
@@ -278,7 +278,7 @@
278
278
  },
279
279
  "lettaLifecycleProtocol": 1,
280
280
  "lettaRuntimeGraphProtocol": 1,
281
- "lettaRuntimeGraphSha512": "sha512-tPPjQGBLt5+vA9W+Mv4yvHjYDOzBSNPnlU8rxk0g42xKGYf9HCuWpRA2cR5XvB6ETJFjJmcjMOcHZmQVjiwNuA==",
281
+ "lettaRuntimeGraphSha512": "sha512-A1kdX0tWknAIbqO7TviYhJ8DS12ycZiM8dB/8GuJPSW1AHCVvJ9QpqCQ/iVE1TOGYMRJpRz+FcpND+DAwTF7pg==",
282
282
  "patchedDependencies": {
283
283
  "@earendil-works/pi-ai@0.99.1": "patches/@earendil-works%2Fpi-ai@0.99.1.patch"
284
284
  }
@@ -81,6 +81,12 @@
81
81
  "env": { "LETTA_SKIP_KEYCHAIN_CHECK": "1" },
82
82
  "reason": "Mutates shared channel stores and credential mode; local fixtures must not use the macOS keychain."
83
83
  },
84
+ {
85
+ "path": "src/channels/registry-lifecycle.test.ts",
86
+ "timeoutMs": 15000,
87
+ "env": { "LETTA_SKIP_KEYCHAIN_CHECK": "1" },
88
+ "reason": "initializeChannels() probes the OS keychain and caches the process-global channel credential mode; on macOS that cached keyring mode made later channel fixtures write tokens to the runner keychain."
89
+ },
84
90
  {
85
91
  "path": "src/channels/slack/media.test.ts",
86
92
  "timeoutMs": 15000,
@@ -40,6 +40,5 @@
40
40
  "src/websocket/listen-client-protocol.test.ts": 5664,
41
41
  "src/websocket/listener/commands/memory.ts": 1114,
42
42
  "src/websocket/listener/file-commands.ts": 1045,
43
- "src/websocket/listener/protocol-inbound.ts": 2047,
44
- "src/websocket/listener/protocol-outbound.ts": 1001
43
+ "src/websocket/listener/protocol-inbound.ts": 2047
45
44
  }
@@ -44,6 +44,32 @@ Share the saved file the way your current surface supports: attach or upload it
44
44
  to the conversation or channel you are replying in. Keep credit amounts out of
45
45
  replies unless the user asks about cost.
46
46
 
47
+ ## Word timings
48
+
49
+ Use `POST /v1/audio/speech/with-timestamps` for captions, cueing visuals to
50
+ words, or lip-sync checks. It accepts the same body as plain speech (`text`,
51
+ `voice_id`, `model_id`, `voice_settings`, and other options), with the same
52
+ Letta authentication and billing; no ElevenLabs key is needed.
53
+
54
+ The response is JSON `{ audio_base64, alignment, normalized_alignment, words }`.
55
+ Each word is `{ text, type: "word", start, end }`, with times in seconds.
56
+ Words retain punctuation and use normalized spoken text when available;
57
+ missing alignment produces an empty `words` array.
58
+
59
+ ```bash
60
+ base_url="${LETTA_BASE_URL%/}"
61
+
62
+ curl -fsS -X POST "$base_url/v1/audio/speech/with-timestamps" \
63
+ -H "Authorization: Bearer $LETTA_API_KEY" \
64
+ -H "Content-Type: application/json" \
65
+ -d '{"text":"Hello world!","voice_id":"JBFqnCBsd6RMkjVDRZzb","model_id":"eleven_v4","output_format":"mp3_44100_128"}' \
66
+ --output speech.json &&
67
+ jq -r '.audio_base64' speech.json | base64 --decode > output.mp3 &&
68
+ jq '.words' speech.json > words.json
69
+ ```
70
+
71
+ Plain `/v1/audio/speech` still returns raw audio bytes.
72
+
47
73
  ## Models
48
74
 
49
75
  | Model ID | Languages | Latency | Best For |