@treasuredata/tdx 0.21.0 → 0.22.0

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 (175) hide show
  1. package/README.md +4 -13
  2. package/dist/bin.js +1 -1
  3. package/dist/build-info.json +3 -3
  4. package/dist/cli-categories.js +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/chat-command.js +1 -1
  13. package/dist/commands/claude-command.js +1 -1
  14. package/dist/commands/claude-statusline-command.js +1 -1
  15. package/dist/commands/claude-usage-command.js +1 -1
  16. package/dist/commands/command.js +1 -1
  17. package/dist/commands/connection-command.js +1 -1
  18. package/dist/commands/databases.js +1 -1
  19. package/dist/commands/describe.js +1 -1
  20. package/dist/commands/engage-command.js +1 -1
  21. package/dist/commands/job-command.js +1 -1
  22. package/dist/commands/journey-command.js +1 -1
  23. package/dist/commands/journey-validate-command.js +1 -1
  24. package/dist/commands/llm-command.js +1 -1
  25. package/dist/commands/mcp-command.js +1 -1
  26. package/dist/commands/parent-segment-command.js +1 -1
  27. package/dist/commands/profile-command.js +1 -1
  28. package/dist/commands/profile-command.js.map +1 -1
  29. package/dist/commands/profiles-command.js +1 -1
  30. package/dist/commands/query-command.js +1 -1
  31. package/dist/commands/schedule-command.js +1 -1
  32. package/dist/commands/segment-command.js +1 -1
  33. package/dist/commands/segment-create-command.js +1 -1
  34. package/dist/commands/segment-fields-command.js +1 -1
  35. package/dist/commands/segment-pull-command.js +1 -1
  36. package/dist/commands/segment-push-command.js +1 -1
  37. package/dist/commands/segment-update-command.js +1 -1
  38. package/dist/commands/segment-use-command.js +1 -1
  39. package/dist/commands/segment-validate-command.js +1 -1
  40. package/dist/commands/segments.js +1 -1
  41. package/dist/commands/show.js +1 -1
  42. package/dist/commands/status-command.js +1 -1
  43. package/dist/commands/tables.js +1 -1
  44. package/dist/commands/unset-command.js +1 -1
  45. package/dist/commands/unset-command.js.map +1 -1
  46. package/dist/commands/use-command.js +1 -1
  47. package/dist/commands/use-command.js.map +1 -1
  48. package/dist/commands/user-command.js +1 -1
  49. package/dist/commands/workflow-command.js +1 -1
  50. package/dist/core/auth.js +1 -1
  51. package/dist/core/command-output.js +1 -1
  52. package/dist/core/config.js +1 -1
  53. package/dist/core/config.js.map +1 -1
  54. package/dist/core/connection-cache.js +1 -1
  55. package/dist/core/constants.js +1 -1
  56. package/dist/core/credential-cache.js +1 -1
  57. package/dist/core/global-context.js +1 -1
  58. package/dist/core/global-context.js.map +1 -1
  59. package/dist/core/keychain.js +1 -1
  60. package/dist/core/profile.d.ts +1 -1
  61. package/dist/core/profile.js +1 -1
  62. package/dist/core/project-config.js +1 -1
  63. package/dist/core/session.d.ts.map +1 -1
  64. package/dist/core/session.js +1 -1
  65. package/dist/core/session.js.map +1 -1
  66. package/dist/core/user-cache.js +1 -1
  67. package/dist/core/version.js +1 -1
  68. package/dist/index.js +1 -1
  69. package/dist/mcp/server.js +1 -1
  70. package/dist/mcp/tools/index.js +1 -1
  71. package/dist/mcp/tools/tdx-run.js +1 -1
  72. package/dist/mcp/tools/tdx-run.js.map +1 -1
  73. package/dist/mcp/tools/tdx-search.js +1 -1
  74. package/dist/mcp/utils.js +1 -1
  75. package/dist/proxy/claude-usage-tracker.js +1 -1
  76. package/dist/proxy/passthrough-server.js +1 -1
  77. package/dist/proxy/sse-usage-parser.js +1 -1
  78. package/dist/sdk/agent/agent-config.js +1 -1
  79. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  80. package/dist/sdk/agent/agent-yaml.js +1 -1
  81. package/dist/sdk/agent/test/evaluator.js +1 -1
  82. package/dist/sdk/agent/test/executor.js +1 -1
  83. package/dist/sdk/agent/test/index.js +1 -1
  84. package/dist/sdk/agent/test/output.js +1 -1
  85. package/dist/sdk/agent/test/parser.js +1 -1
  86. package/dist/sdk/api.js +1 -1
  87. package/dist/sdk/client/cdp-api-client.js +1 -1
  88. package/dist/sdk/client/endpoints.js +1 -1
  89. package/dist/sdk/client/engage-api-client.js +1 -1
  90. package/dist/sdk/client/http-client.js +1 -1
  91. package/dist/sdk/client/llm-api-client.js +1 -1
  92. package/dist/sdk/client/rate-limiter.js +1 -1
  93. package/dist/sdk/client/td-api-client.js +1 -1
  94. package/dist/sdk/client/trino-api-client.js +1 -1
  95. package/dist/sdk/client/workflow-client.js +1 -1
  96. package/dist/sdk/connection-validator.js +1 -1
  97. package/dist/sdk/connection.js +1 -1
  98. package/dist/sdk/engage.js +1 -1
  99. package/dist/sdk/errors.js +1 -1
  100. package/dist/sdk/index.js +1 -1
  101. package/dist/sdk/io/index.js +1 -1
  102. package/dist/sdk/io/node-filesystem.js +1 -1
  103. package/dist/sdk/job.js +1 -1
  104. package/dist/sdk/journey.js +1 -1
  105. package/dist/sdk/llm/chat-cache.js +1 -1
  106. package/dist/sdk/llm/index.js +1 -1
  107. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  108. package/dist/sdk/llm/model-factors.js +1 -1
  109. package/dist/sdk/query/index.js +1 -1
  110. package/dist/sdk/query/sql-parser.js +1 -1
  111. package/dist/sdk/schedule.js +1 -1
  112. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  113. package/dist/sdk/segment/fields-display.js +1 -1
  114. package/dist/sdk/segment/file-discovery.js +1 -1
  115. package/dist/sdk/segment/journey-utils.js +1 -1
  116. package/dist/sdk/segment/journey-yaml.js +1 -1
  117. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  118. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  119. package/dist/sdk/segment/pull-workflow.js +1 -1
  120. package/dist/sdk/segment/push-workflow.js +1 -1
  121. package/dist/sdk/segment/resolution-context.js +1 -1
  122. package/dist/sdk/segment/segment-path-parser.js +1 -1
  123. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  124. package/dist/sdk/segment/target-resolution.js +1 -1
  125. package/dist/sdk/segment/tdx-config.js +1 -1
  126. package/dist/sdk/segment/validate-files.js +1 -1
  127. package/dist/sdk/segment/yaml-validator.js +1 -1
  128. package/dist/sdk/segment.js +1 -1
  129. package/dist/sdk/types/index.js +1 -1
  130. package/dist/sdk/types/progress.js +1 -1
  131. package/dist/sdk/user.js +1 -1
  132. package/dist/sdk/util/format-detector.js +1 -1
  133. package/dist/sdk/util/formatters.js +1 -1
  134. package/dist/sdk/util/index.js +1 -1
  135. package/dist/sdk/util/tree-formatter.js +1 -1
  136. package/dist/sdk/workflow/archive-validation.js +1 -1
  137. package/dist/sdk/workflow/clone-workflow.js +1 -1
  138. package/dist/sdk/workflow/index.js +1 -1
  139. package/dist/sdk/workflow/pull-workflow.js +1 -1
  140. package/dist/sdk/workflow/push-workflow.js +1 -1
  141. package/dist/sdk/workflow/tdx-config.js +1 -1
  142. package/dist/sdk/workflow/workflow-utils.js +1 -1
  143. package/dist/test-utils/command-runner.js +1 -1
  144. package/dist/test-utils/factories.js +1 -1
  145. package/dist/test-utils/fixtures.js +1 -1
  146. package/dist/test-utils/http-mock.js +1 -1
  147. package/dist/test-utils/index.js +1 -1
  148. package/dist/utils/async.js +1 -1
  149. package/dist/utils/colors.js +1 -1
  150. package/dist/utils/diff.js +1 -1
  151. package/dist/utils/file-permissions.js +1 -1
  152. package/dist/utils/global-cache.js +1 -1
  153. package/dist/utils/json-loader.js +1 -1
  154. package/dist/utils/local-cache.js +1 -1
  155. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  156. package/dist/utils/logger/formatters/index.js +1 -1
  157. package/dist/utils/logger/handlers/console-handler.js +1 -1
  158. package/dist/utils/logger/handlers/file-handler.js +1 -1
  159. package/dist/utils/logger/handlers/index.js +1 -1
  160. package/dist/utils/logger/handlers/null-handler.js +1 -1
  161. package/dist/utils/logger/index.js +1 -1
  162. package/dist/utils/logger/logger.js +1 -1
  163. package/dist/utils/logger/types.js +1 -1
  164. package/dist/utils/option-validation.js +1 -1
  165. package/dist/utils/port.js +1 -1
  166. package/dist/utils/process.js +1 -1
  167. package/dist/utils/process.js.map +1 -1
  168. package/dist/utils/prompt.js +1 -1
  169. package/dist/utils/spinner.js +1 -1
  170. package/dist/utils/sse-parser.js +1 -1
  171. package/dist/utils/string-utils.js +1 -1
  172. package/dist/utils/table-ref-parser.js +1 -1
  173. package/dist/utils/tdx-logger.js +1 -1
  174. package/dist/utils/version-check.js +1 -1
  175. package/package.json +1 -1
package/README.md CHANGED
@@ -58,22 +58,13 @@ For detailed documentation, visit [https://tdx.treasuredata.com/](https://tdx.tr
58
58
  - **Node.js 22.12.0 or higher** (Node.js 24 LTS recommended)
59
59
  - TD API key with appropriate permissions
60
60
 
61
- ## TDX Studio (Desktop App)
61
+ ## Treasure Studio (Desktop App)
62
62
 
63
- TDX Studio is an AI-native desktop application built with Electron + React. It bundles the tdx CLI.
63
+ Treasure Studio is an AI-native desktop application that provides a graphical interface for Treasure Data workflows.
64
64
 
65
- ```bash
66
- # Quick start from project root
67
- npm run studio:install # Install dependencies for both root and tdx-studio
68
- npm run studio:dev # Run TDX Studio in development mode
69
-
70
- # Production build
71
- cd tdx-studio
72
- npm run package:mac # macOS (.dmg)
73
- npm run package:win # Windows (.exe)
74
- ```
65
+ **Download:** [Treasure Studio Releases](https://github.com/treasure-data/tdx-studio/releases)
75
66
 
76
- See [tdx-studio/README.md](tdx-studio/README.md) for detailed documentation.
67
+ **Note:** Treasure Data's AI Foundry subscription is required to use Treasure Studio.
77
68
 
78
69
  ## Contributing
79
70
 
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x25e2f2,_0xaf3bd1){var _0xc309e2=a0_0x44a9,_0xefc02f=_0x25e2f2();while(!![]){try{var _0x44a783=-parseInt(_0xc309e2(0xad))/0x1+parseInt(_0xc309e2(0xab))/0x2+-parseInt(_0xc309e2(0xb2))/0x3*(parseInt(_0xc309e2(0xb1))/0x4)+-parseInt(_0xc309e2(0xb4))/0x5*(-parseInt(_0xc309e2(0xac))/0x6)+parseInt(_0xc309e2(0xaa))/0x7*(-parseInt(_0xc309e2(0xaf))/0x8)+-parseInt(_0xc309e2(0xb3))/0x9+parseInt(_0xc309e2(0xb0))/0xa*(parseInt(_0xc309e2(0xae))/0xb);if(_0x44a783===_0xaf3bd1)break;else _0xefc02f['push'](_0xefc02f['shift']());}catch(_0x576c11){_0xefc02f['push'](_0xefc02f['shift']());}}}(a0_0x25d1,0x90405));function a0_0x44a9(_0x4d7c22,_0x31576d){_0x4d7c22=_0x4d7c22-0xaa;var _0x25d10e=a0_0x25d1();var _0x44a97b=_0x25d10e[_0x4d7c22];return _0x44a97b;}import{runCLI}from'./cli.js';runCLI();function a0_0x25d1(){var _0x3e8ec1=['5476131MfVlqB','12735QRUnUt','2744cDHeuS','2088224cgmIwk','606bOqbZx','75104ScEDli','479149qzVoyz','14704ZCIDYu','340QTZSeR','4BvUTkC','2362359IirOxJ'];a0_0x25d1=function(){return _0x3e8ec1;};return a0_0x25d1();}
2
+ function a0_0x2867(_0x54cc36,_0x3ec72d){_0x54cc36=_0x54cc36-0xe4;var _0x304ccf=a0_0x304c();var _0x28671c=_0x304ccf[_0x54cc36];return _0x28671c;}(function(_0x558a3e,_0x52f68c){var _0x240f2d=a0_0x2867,_0x573029=_0x558a3e();while(!![]){try{var _0x3da43a=parseInt(_0x240f2d(0xeb))/0x1*(-parseInt(_0x240f2d(0xe5))/0x2)+-parseInt(_0x240f2d(0xef))/0x3+-parseInt(_0x240f2d(0xe6))/0x4*(-parseInt(_0x240f2d(0xea))/0x5)+parseInt(_0x240f2d(0xe7))/0x6*(-parseInt(_0x240f2d(0xed))/0x7)+parseInt(_0x240f2d(0xec))/0x8*(parseInt(_0x240f2d(0xe9))/0x9)+-parseInt(_0x240f2d(0xee))/0xa*(parseInt(_0x240f2d(0xe4))/0xb)+parseInt(_0x240f2d(0xe8))/0xc;if(_0x3da43a===_0x52f68c)break;else _0x573029['push'](_0x573029['shift']());}catch(_0x1e02d5){_0x573029['push'](_0x573029['shift']());}}}(a0_0x304c,0x67536));import{runCLI}from'./cli.js';runCLI();function a0_0x304c(){var _0x4c5c2c=['20yjSqvM','438237AVrIYn','838233vHKStk','4GgZYCv','8612CPBEqA','6fOlwNC','16526352eBtvWj','1742247bLHiJM','65zJYsyN','167774hWCjth','8qxwKDj','3790591FkQGcO'];a0_0x304c=function(){return _0x4c5c2c;};return a0_0x304c();}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.21.0",
3
- "gitRevision": "bc603fb",
4
- "buildTime": "2026-02-06 02:02:51+0000"
2
+ "version": "0.22.0",
3
+ "gitRevision": "efedea5",
4
+ "buildTime": "2026-02-10 00:45:05+0000"
5
5
  }
@@ -1 +1 @@
1
- const a1_0x41c3cb=a1_0x5a3a;(function(_0x5815b8,_0x472a0d){const _0x59ddc2=a1_0x5a3a,_0x28fcfc=_0x5815b8();while(!![]){try{const _0x5819b9=parseInt(_0x59ddc2(0xc2))/0x1*(-parseInt(_0x59ddc2(0xdd))/0x2)+parseInt(_0x59ddc2(0xe0))/0x3+-parseInt(_0x59ddc2(0xdb))/0x4+parseInt(_0x59ddc2(0xd3))/0x5+-parseInt(_0x59ddc2(0xc4))/0x6+-parseInt(_0x59ddc2(0xcf))/0x7+parseInt(_0x59ddc2(0xc5))/0x8;if(_0x5819b9===_0x472a0d)break;else _0x28fcfc['push'](_0x28fcfc['shift']());}catch(_0x5cf576){_0x28fcfc['push'](_0x28fcfc['shift']());}}}(a1_0x572c,0x56552));import a1_0xa98cb0 from'chalk';function a1_0x5a3a(_0x7533b4,_0x228257){_0x7533b4=_0x7533b4-0xc1;const _0x572c26=a1_0x572c();let _0x5a3a37=_0x572c26[_0x7533b4];return _0x5a3a37;}export const COMMAND_CATEGORIES=[{'name':a1_0x41c3cb(0xd0),'colorFn':a1_0xa98cb0['blue'],'commands':[a1_0x41c3cb(0xdc),a1_0x41c3cb(0xc1),a1_0x41c3cb(0xd4),a1_0x41c3cb(0xcc),a1_0x41c3cb(0xd6),a1_0x41c3cb(0xe2),a1_0x41c3cb(0xd5)]},{'name':a1_0x41c3cb(0xe4),'colorFn':a1_0xa98cb0['magenta'],'commands':[a1_0x41c3cb(0xd7),a1_0x41c3cb(0xce),a1_0x41c3cb(0xcb),a1_0x41c3cb(0xc8),a1_0x41c3cb(0xde),a1_0x41c3cb(0xc9),a1_0x41c3cb(0xdf)]},{'name':'AI','colorFn':a1_0xa98cb0['cyan'],'commands':['agent','agents',a1_0x41c3cb(0xe5),'chats','llm',a1_0x41c3cb(0xc6)]},{'name':a1_0x41c3cb(0xca),'colorFn':a1_0xa98cb0[a1_0x41c3cb(0xe1)],'commands':[a1_0x41c3cb(0xc3),a1_0x41c3cb(0xd1),a1_0x41c3cb(0xe3),a1_0x41c3cb(0xcd),a1_0x41c3cb(0xd2),a1_0x41c3cb(0xc7),a1_0x41c3cb(0xda),'users']},{'name':a1_0x41c3cb(0xe7),'colorFn':a1_0xa98cb0[a1_0x41c3cb(0xd8)],'commands':[a1_0x41c3cb(0xe6),a1_0x41c3cb(0xd9)]}];function a1_0x572c(){const _0x2bb4c1=['2622006YDWHDL','2703928UXBBVl','claude','auth','journeys','engage','Context','journey','describe','profile','parent-segment','1032423eqSuQt','Data','use','profiles','216000AGcbVN','show','workflow','query','segment','green','mcp','user','138860zUtFBy','database','250CGLILq','activations','connection','2010396ZUocbN','yellow','job','unset','CDP','chat','api','Utilities','table','628Jmpjvt','status'];a1_0x572c=function(){return _0x2bb4c1;};return a1_0x572c();}
1
+ function a1_0x3c6a(_0x4213d7,_0x16b1d5){_0x4213d7=_0x4213d7-0x156;const _0x5a5c5f=a1_0x5a5c();let _0x3c6a4f=_0x5a5c5f[_0x4213d7];return _0x3c6a4f;}const a1_0x4bb914=a1_0x3c6a;(function(_0x5c374b,_0x325d22){const _0x47473e=a1_0x3c6a,_0x40f6ad=_0x5c374b();while(!![]){try{const _0x3fca85=-parseInt(_0x47473e(0x158))/0x1*(-parseInt(_0x47473e(0x172))/0x2)+parseInt(_0x47473e(0x16b))/0x3*(parseInt(_0x47473e(0x169))/0x4)+-parseInt(_0x47473e(0x15d))/0x5*(-parseInt(_0x47473e(0x16f))/0x6)+parseInt(_0x47473e(0x165))/0x7*(-parseInt(_0x47473e(0x176))/0x8)+parseInt(_0x47473e(0x168))/0x9*(-parseInt(_0x47473e(0x17c))/0xa)+parseInt(_0x47473e(0x15f))/0xb+parseInt(_0x47473e(0x17a))/0xc*(parseInt(_0x47473e(0x16d))/0xd);if(_0x3fca85===_0x325d22)break;else _0x40f6ad['push'](_0x40f6ad['shift']());}catch(_0x1f9b9e){_0x40f6ad['push'](_0x40f6ad['shift']());}}}(a1_0x5a5c,0x8681f));import a1_0x4566ba from'chalk';function a1_0x5a5c(){const _0x313644=['job','database','275pxyOTc','magenta','9003577altvWv','profiles','auth','show','users','segment','7ksmTPV','blue','cyan','3771YydiyJ','993732NlBdTb','parent-segment','6yUbpTC','activations','78umjbAr','table','87786dPYgHR','journeys','api','4piXWhk','yellow','claude','journey','7609776UyXqMD','CDP','query','profile','614436cyHLdn','workflow','23710JmALYh','Context','green','chats','34159XXffCE','status','llm'];a1_0x5a5c=function(){return _0x313644;};return a1_0x5a5c();}export const COMMAND_CATEGORIES=[{'name':'Data','colorFn':a1_0x4566ba[a1_0x4bb914(0x166)],'commands':[a1_0x4bb914(0x15c),a1_0x4bb914(0x16e),a1_0x4bb914(0x162),'describe',a1_0x4bb914(0x178),a1_0x4bb914(0x15b),a1_0x4bb914(0x17b)]},{'name':a1_0x4bb914(0x177),'colorFn':a1_0x4566ba[a1_0x4bb914(0x15e)],'commands':[a1_0x4bb914(0x164),a1_0x4bb914(0x16a),a1_0x4bb914(0x175),a1_0x4bb914(0x170),a1_0x4bb914(0x16c),'engage','connection']},{'name':'AI','colorFn':a1_0x4566ba[a1_0x4bb914(0x167)],'commands':['agent','agents','chat',a1_0x4bb914(0x157),a1_0x4bb914(0x15a),a1_0x4bb914(0x174)]},{'name':a1_0x4bb914(0x17d),'colorFn':a1_0x4566ba[a1_0x4bb914(0x173)],'commands':[a1_0x4bb914(0x159),'use','unset',a1_0x4bb914(0x179),a1_0x4bb914(0x160),a1_0x4bb914(0x161),'user',a1_0x4bb914(0x163)]},{'name':'Utilities','colorFn':a1_0x4566ba[a1_0x4bb914(0x156)],'commands':[a1_0x4bb914(0x171),'mcp']}];