@treasuredata/tdx 0.18.0 → 0.19.1

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 -8
  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/commands/activations.js +1 -1
  7. package/dist/commands/agent-command.js +1 -1
  8. package/dist/commands/agent-test-command.js +1 -1
  9. package/dist/commands/api-command.js +1 -1
  10. package/dist/commands/auth-command.js +1 -1
  11. package/dist/commands/chat-command.js +1 -1
  12. package/dist/commands/claude-command.js +1 -1
  13. package/dist/commands/claude-statusline-command.js +1 -1
  14. package/dist/commands/claude-usage-command.js +1 -1
  15. package/dist/commands/command.js +1 -1
  16. package/dist/commands/connection-command.js +1 -1
  17. package/dist/commands/databases.js +1 -1
  18. package/dist/commands/describe.js +1 -1
  19. package/dist/commands/engage-command.js +1 -1
  20. package/dist/commands/job-command.js +1 -1
  21. package/dist/commands/journey-command.js +1 -1
  22. package/dist/commands/journey-validate-command.js +1 -1
  23. package/dist/commands/llm-command.js +1 -1
  24. package/dist/commands/llm-proxy.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/profiles-command.js +1 -1
  29. package/dist/commands/query-command.js +1 -1
  30. package/dist/commands/schedule-command.js +1 -1
  31. package/dist/commands/segment-command.js +1 -1
  32. package/dist/commands/segment-create-command.js +1 -1
  33. package/dist/commands/segment-fields-command.js +1 -1
  34. package/dist/commands/segment-pull-command.js +1 -1
  35. package/dist/commands/segment-push-command.js +1 -1
  36. package/dist/commands/segment-update-command.js +1 -1
  37. package/dist/commands/segment-use-command.js +1 -1
  38. package/dist/commands/segment-validate-command.js +1 -1
  39. package/dist/commands/segments.js +1 -1
  40. package/dist/commands/show.js +1 -1
  41. package/dist/commands/status-command.js +1 -1
  42. package/dist/commands/tables.js +1 -1
  43. package/dist/commands/unset-command.js +1 -1
  44. package/dist/commands/use-command.js +1 -1
  45. package/dist/commands/user-command.js +1 -1
  46. package/dist/commands/workflow-command.js +1 -1
  47. package/dist/core/auth.js +1 -1
  48. package/dist/core/command-output.js +1 -1
  49. package/dist/core/config.js +1 -1
  50. package/dist/core/connection-cache.js +1 -1
  51. package/dist/core/constants.js +1 -1
  52. package/dist/core/credential-cache.js +1 -1
  53. package/dist/core/global-context.js +1 -1
  54. package/dist/core/keychain.js +1 -1
  55. package/dist/core/profile.js +1 -1
  56. package/dist/core/project-config.js +1 -1
  57. package/dist/core/session.js +1 -1
  58. package/dist/core/user-cache.js +1 -1
  59. package/dist/core/version.js +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/mcp/server.js +1 -1
  62. package/dist/mcp/tools/index.js +1 -1
  63. package/dist/mcp/tools/tdx-run.js +1 -1
  64. package/dist/mcp/tools/tdx-search.js +1 -1
  65. package/dist/mcp/utils.js +1 -1
  66. package/dist/proxy/anthropic-adapter.js +1 -1
  67. package/dist/proxy/claude-usage-tracker.d.ts.map +1 -1
  68. package/dist/proxy/claude-usage-tracker.js +1 -1
  69. package/dist/proxy/claude-usage-tracker.js.map +1 -1
  70. package/dist/proxy/context-signature.js +1 -1
  71. package/dist/proxy/conversation-utils.js +1 -1
  72. package/dist/proxy/passthrough-server.js +1 -1
  73. package/dist/proxy/server.js +1 -1
  74. package/dist/proxy/session-cache.js +1 -1
  75. package/dist/proxy/sse-usage-parser.js +1 -1
  76. package/dist/sdk/agent/agent-config.js +1 -1
  77. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  78. package/dist/sdk/agent/agent-yaml.js +1 -1
  79. package/dist/sdk/agent/test/evaluator.js +1 -1
  80. package/dist/sdk/agent/test/executor.js +1 -1
  81. package/dist/sdk/agent/test/index.js +1 -1
  82. package/dist/sdk/agent/test/output.js +1 -1
  83. package/dist/sdk/agent/test/parser.js +1 -1
  84. package/dist/sdk/api.js +1 -1
  85. package/dist/sdk/client/cdp-api-client.js +1 -1
  86. package/dist/sdk/client/endpoints.js +1 -1
  87. package/dist/sdk/client/engage-api-client.js +1 -1
  88. package/dist/sdk/client/http-client.js +1 -1
  89. package/dist/sdk/client/llm-api-client.js +1 -1
  90. package/dist/sdk/client/rate-limiter.js +1 -1
  91. package/dist/sdk/client/td-api-client.js +1 -1
  92. package/dist/sdk/client/trino-api-client.js +1 -1
  93. package/dist/sdk/client/workflow-client.js +1 -1
  94. package/dist/sdk/connection-validator.js +1 -1
  95. package/dist/sdk/connection.js +1 -1
  96. package/dist/sdk/engage.js +1 -1
  97. package/dist/sdk/errors.js +1 -1
  98. package/dist/sdk/index.js +1 -1
  99. package/dist/sdk/io/index.js +1 -1
  100. package/dist/sdk/io/node-filesystem.js +1 -1
  101. package/dist/sdk/job.js +1 -1
  102. package/dist/sdk/journey.js +1 -1
  103. package/dist/sdk/llm/chat-cache.js +1 -1
  104. package/dist/sdk/llm/index.js +1 -1
  105. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  106. package/dist/sdk/llm/model-aliases.js +1 -1
  107. package/dist/sdk/llm/model-factors.js +1 -1
  108. package/dist/sdk/query/index.js +1 -1
  109. package/dist/sdk/query/sql-parser.js +1 -1
  110. package/dist/sdk/schedule.js +1 -1
  111. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  112. package/dist/sdk/segment/fields-display.js +1 -1
  113. package/dist/sdk/segment/file-discovery.js +1 -1
  114. package/dist/sdk/segment/journey-utils.js +1 -1
  115. package/dist/sdk/segment/journey-yaml.js +1 -1
  116. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  117. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  118. package/dist/sdk/segment/pull-workflow.js +1 -1
  119. package/dist/sdk/segment/push-workflow.js +1 -1
  120. package/dist/sdk/segment/resolution-context.js +1 -1
  121. package/dist/sdk/segment/segment-path-parser.js +1 -1
  122. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  123. package/dist/sdk/segment/target-resolution.js +1 -1
  124. package/dist/sdk/segment/tdx-config.js +1 -1
  125. package/dist/sdk/segment/validate-files.js +1 -1
  126. package/dist/sdk/segment/yaml-validator.js +1 -1
  127. package/dist/sdk/segment.js +1 -1
  128. package/dist/sdk/types/index.js +1 -1
  129. package/dist/sdk/types/progress.js +1 -1
  130. package/dist/sdk/user.js +1 -1
  131. package/dist/sdk/util/format-detector.js +1 -1
  132. package/dist/sdk/util/formatters.js +1 -1
  133. package/dist/sdk/util/index.js +1 -1
  134. package/dist/sdk/util/tree-formatter.js +1 -1
  135. package/dist/sdk/workflow/archive-validation.js +1 -1
  136. package/dist/sdk/workflow/clone-workflow.js +1 -1
  137. package/dist/sdk/workflow/index.js +1 -1
  138. package/dist/sdk/workflow/pull-workflow.js +1 -1
  139. package/dist/sdk/workflow/push-workflow.js +1 -1
  140. package/dist/sdk/workflow/tdx-config.js +1 -1
  141. package/dist/sdk/workflow/workflow-utils.js +1 -1
  142. package/dist/test-utils/command-runner.js +1 -1
  143. package/dist/test-utils/factories.js +1 -1
  144. package/dist/test-utils/fixtures.js +1 -1
  145. package/dist/test-utils/http-mock.js +1 -1
  146. package/dist/test-utils/index.js +1 -1
  147. package/dist/utils/async.js +1 -1
  148. package/dist/utils/colors.js +1 -1
  149. package/dist/utils/diff.js +1 -1
  150. package/dist/utils/file-permissions.js +1 -1
  151. package/dist/utils/global-cache.js +1 -1
  152. package/dist/utils/json-loader.js +1 -1
  153. package/dist/utils/local-cache.js +1 -1
  154. package/dist/utils/logger/formatters/default-formatter.d.ts.map +1 -1
  155. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  156. package/dist/utils/logger/formatters/default-formatter.js.map +1 -1
  157. package/dist/utils/logger/formatters/index.js +1 -1
  158. package/dist/utils/logger/handlers/console-handler.js +1 -1
  159. package/dist/utils/logger/handlers/file-handler.js +1 -1
  160. package/dist/utils/logger/handlers/index.js +1 -1
  161. package/dist/utils/logger/handlers/null-handler.js +1 -1
  162. package/dist/utils/logger/index.js +1 -1
  163. package/dist/utils/logger/logger.js +1 -1
  164. package/dist/utils/logger/types.js +1 -1
  165. package/dist/utils/option-validation.js +1 -1
  166. package/dist/utils/port.js +1 -1
  167. package/dist/utils/process.js +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 +3 -1
package/README.md CHANGED
@@ -63,16 +63,12 @@ For detailed documentation, visit [https://tdx.treasuredata.com/](https://tdx.tr
63
63
  TDX Studio is an AI-native desktop application built with Electron + React. It bundles the tdx CLI.
64
64
 
65
65
  ```bash
66
- cd tdx-studio
67
- npm install # Install dependencies first
68
-
69
- # Development (hot reload)
70
- npm run dev
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
71
69
 
72
70
  # Production build
73
- cd .. # Go back to root
74
- npm run build:ts # 1. Build tdx CLI first
75
- cd tdx-studio # 2. Package TDX Studio
71
+ cd tdx-studio
76
72
  npm run package:mac # macOS (.dmg)
77
73
  npm run package:win # Windows (.exe)
78
74
  ```
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0xe78de1,_0x21c5f7){var _0x857d35=a0_0x4a9f,_0x562f49=_0xe78de1();while(!![]){try{var _0x243dd3=parseInt(_0x857d35(0x110))/0x1+parseInt(_0x857d35(0x10e))/0x2*(-parseInt(_0x857d35(0x10c))/0x3)+parseInt(_0x857d35(0x10d))/0x4*(-parseInt(_0x857d35(0x10b))/0x5)+-parseInt(_0x857d35(0x109))/0x6+-parseInt(_0x857d35(0x10f))/0x7*(parseInt(_0x857d35(0x106))/0x8)+parseInt(_0x857d35(0x108))/0x9*(parseInt(_0x857d35(0x107))/0xa)+parseInt(_0x857d35(0x10a))/0xb;if(_0x243dd3===_0x21c5f7)break;else _0x562f49['push'](_0x562f49['shift']());}catch(_0x3c3620){_0x562f49['push'](_0x562f49['shift']());}}}(a0_0x15ba,0x4ced8));function a0_0x15ba(){var _0x2eb680=['254155ipinLP','901980kzlzJc','12OrAOxk','2CzqpUU','26355VJdmTK','439756ZaISJr','216CcqmtC','230JwzYMG','123075zdBkIB','163692alSOvu','1571955LbNTJk'];a0_0x15ba=function(){return _0x2eb680;};return a0_0x15ba();}function a0_0x4a9f(_0x1872e4,_0x49e457){_0x1872e4=_0x1872e4-0x106;var _0x15ba00=a0_0x15ba();var _0x4a9fa3=_0x15ba00[_0x1872e4];return _0x4a9fa3;}import{runCLI}from'./cli.js';runCLI();
2
+ (function(_0xc4524a,_0x13c228){var _0x24f852=a0_0xdef6,_0x515bc3=_0xc4524a();while(!![]){try{var _0x44f41b=-parseInt(_0x24f852(0x1ac))/0x1+-parseInt(_0x24f852(0x1aa))/0x2*(-parseInt(_0x24f852(0x1ab))/0x3)+parseInt(_0x24f852(0x1af))/0x4+parseInt(_0x24f852(0x1ad))/0x5*(-parseInt(_0x24f852(0x1b0))/0x6)+-parseInt(_0x24f852(0x1ae))/0x7+parseInt(_0x24f852(0x1a8))/0x8+-parseInt(_0x24f852(0x1a9))/0x9;if(_0x44f41b===_0x13c228)break;else _0x515bc3['push'](_0x515bc3['shift']());}catch(_0x377e95){_0x515bc3['push'](_0x515bc3['shift']());}}}(a0_0x504a,0x56332));function a0_0xdef6(_0x5b4b7d,_0x3865fe){_0x5b4b7d=_0x5b4b7d-0x1a8;var _0x504a9a=a0_0x504a();var _0xdef62c=_0x504a9a[_0x5b4b7d];return _0xdef62c;}import{runCLI}from'./cli.js';runCLI();function a0_0x504a(){var _0x5bfb6b=['368648ttiCkU','427890EHOfPx','623819oZnpLr','1511664DaZdHi','18UfTrqt','4795592dUsjks','2115027OJtwSE','650422utGELM','3lkfyoU'];a0_0x504a=function(){return _0x5bfb6b;};return a0_0x504a();}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.18.0",
3
- "gitRevision": "b7a5163",
4
- "buildTime": "2026-02-03 02:01:53+0000"
2
+ "version": "0.19.1",
3
+ "gitRevision": "da4125f",
4
+ "buildTime": "2026-02-03 07:04:49+0000"
5
5
  }
@@ -1 +1 @@
1
- const a1_0x197df3=a1_0x433d;(function(_0x32416e,_0x371000){const _0x541d29=a1_0x433d,_0xf31eae=_0x32416e();while(!![]){try{const _0x2a8b13=-parseInt(_0x541d29(0x1d8))/0x1+parseInt(_0x541d29(0x1bd))/0x2+-parseInt(_0x541d29(0x1cb))/0x3+-parseInt(_0x541d29(0x1bb))/0x4+-parseInt(_0x541d29(0x1c2))/0x5+parseInt(_0x541d29(0x1ca))/0x6+-parseInt(_0x541d29(0x1b9))/0x7*(-parseInt(_0x541d29(0x1be))/0x8);if(_0x2a8b13===_0x371000)break;else _0xf31eae['push'](_0xf31eae['shift']());}catch(_0x1c72df){_0xf31eae['push'](_0xf31eae['shift']());}}}(a1_0x1e4d,0x7af94));function a1_0x1e4d(){const _0x348dcf=['cyan','segment','workflow','agents','llm','unset','status','Utilities','job','user','594080vRCxCq','describe','agent','query','show','7iCmiaN','database','1519344JWkjbB','connection','952480ataqlp','12991376zFGkWo','yellow','profile','engage','2854740ojHtpo','Data','Context','api','table','auth','claude','parent-segment','2183508jAsRVx','1246548ZDKOLc','green','activations'];a1_0x1e4d=function(){return _0x348dcf;};return a1_0x1e4d();}function a1_0x433d(_0x439fe9,_0x5ea8e0){_0x439fe9=_0x439fe9-0x1b9;const _0x1e4dd6=a1_0x1e4d();let _0x433d9b=_0x1e4dd6[_0x439fe9];return _0x433d9b;}import a1_0x2a7cb8 from'chalk';export const COMMAND_CATEGORIES=[{'name':a1_0x197df3(0x1c3),'colorFn':a1_0x2a7cb8['blue'],'commands':[a1_0x197df3(0x1ba),a1_0x197df3(0x1c6),a1_0x197df3(0x1dc),a1_0x197df3(0x1d9),a1_0x197df3(0x1db),a1_0x197df3(0x1d6),a1_0x197df3(0x1d0)]},{'name':'CDP','colorFn':a1_0x2a7cb8['magenta'],'commands':[a1_0x197df3(0x1cf),a1_0x197df3(0x1c9),'journey','journeys',a1_0x197df3(0x1cd),a1_0x197df3(0x1c1),a1_0x197df3(0x1bc)]},{'name':'AI','colorFn':a1_0x2a7cb8[a1_0x197df3(0x1ce)],'commands':[a1_0x197df3(0x1da),a1_0x197df3(0x1d1),'chat','chats',a1_0x197df3(0x1d2),a1_0x197df3(0x1c8)]},{'name':a1_0x197df3(0x1c4),'colorFn':a1_0x2a7cb8[a1_0x197df3(0x1bf)],'commands':[a1_0x197df3(0x1d4),'use',a1_0x197df3(0x1d3),a1_0x197df3(0x1c0),'profiles',a1_0x197df3(0x1c7),a1_0x197df3(0x1d7),'users']},{'name':a1_0x197df3(0x1d5),'colorFn':a1_0x2a7cb8[a1_0x197df3(0x1cc)],'commands':[a1_0x197df3(0x1c5),'mcp']}];
1
+ function a1_0x5b17(){const _0x35da37=['576760aLcSDz','378070XwQICG','492682AeOrCZ','describe','12QBKsiW','3eobFzq','6479490ltcwqA','profile','49KnoUyJ','query','database','green','agents','parent-segment','Data','connection','status','job','chats','journeys','users','2407136eMhmOG','CDP','claude','yellow','242974XYVgGs','cyan','6962615MLrvUM','use','unset','show','9JFtQqO','agent','chat','profiles','mcp','Context','llm','Utilities'];a1_0x5b17=function(){return _0x35da37;};return a1_0x5b17();}const a1_0x20f8cd=a1_0x596b;(function(_0x449e52,_0x13c163){const _0xe08b22=a1_0x596b,_0x478cd8=_0x449e52();while(!![]){try{const _0x5851a9=parseInt(_0xe08b22(0x206))/0x1+parseInt(_0xe08b22(0x1f6))/0x2+-parseInt(_0xe08b22(0x209))/0x3*(parseInt(_0xe08b22(0x1f2))/0x4)+parseInt(_0xe08b22(0x205))/0x5*(-parseInt(_0xe08b22(0x208))/0x6)+parseInt(_0xe08b22(0x20c))/0x7*(parseInt(_0xe08b22(0x204))/0x8)+-parseInt(_0xe08b22(0x1fc))/0x9*(parseInt(_0xe08b22(0x20a))/0xa)+parseInt(_0xe08b22(0x1f8))/0xb;if(_0x5851a9===_0x13c163)break;else _0x478cd8['push'](_0x478cd8['shift']());}catch(_0x1e9185){_0x478cd8['push'](_0x478cd8['shift']());}}}(a1_0x5b17,0x55a76));function a1_0x596b(_0x2d5dcc,_0x2435d4){_0x2d5dcc=_0x2d5dcc-0x1e7;const _0x5b1721=a1_0x5b17();let _0x596bad=_0x5b1721[_0x2d5dcc];return _0x596bad;}import a1_0x4e7a28 from'chalk';export const COMMAND_CATEGORIES=[{'name':a1_0x20f8cd(0x1eb),'colorFn':a1_0x4e7a28['blue'],'commands':[a1_0x20f8cd(0x1e7),'table',a1_0x20f8cd(0x1fb),a1_0x20f8cd(0x207),a1_0x20f8cd(0x20d),a1_0x20f8cd(0x1ee),'workflow']},{'name':a1_0x20f8cd(0x1f3),'colorFn':a1_0x4e7a28['magenta'],'commands':['segment',a1_0x20f8cd(0x1ea),'journey',a1_0x20f8cd(0x1f0),'activations','engage',a1_0x20f8cd(0x1ec)]},{'name':'AI','colorFn':a1_0x4e7a28[a1_0x20f8cd(0x1f7)],'commands':[a1_0x20f8cd(0x1fd),a1_0x20f8cd(0x1e9),a1_0x20f8cd(0x1fe),a1_0x20f8cd(0x1ef),a1_0x20f8cd(0x202),a1_0x20f8cd(0x1f4)]},{'name':a1_0x20f8cd(0x201),'colorFn':a1_0x4e7a28[a1_0x20f8cd(0x1f5)],'commands':[a1_0x20f8cd(0x1ed),a1_0x20f8cd(0x1f9),a1_0x20f8cd(0x1fa),a1_0x20f8cd(0x20b),a1_0x20f8cd(0x1ff),'auth','user',a1_0x20f8cd(0x1f1)]},{'name':a1_0x20f8cd(0x203),'colorFn':a1_0x4e7a28[a1_0x20f8cd(0x1e8)],'commands':['api',a1_0x20f8cd(0x200)]}];