@treasuredata/tdx 0.14.7 → 0.14.9

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 (145) hide show
  1. package/README.md +21 -0
  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/api-command.js +1 -1
  9. package/dist/commands/auth-command.js +1 -1
  10. package/dist/commands/chat-command.js +1 -1
  11. package/dist/commands/claude-command.js +1 -1
  12. package/dist/commands/claude-statusline-command.js +1 -1
  13. package/dist/commands/claude-usage-command.js +1 -1
  14. package/dist/commands/command.js +1 -1
  15. package/dist/commands/connection-command.js +1 -1
  16. package/dist/commands/databases.js +1 -1
  17. package/dist/commands/describe.js +1 -1
  18. package/dist/commands/engage-command.js +1 -1
  19. package/dist/commands/job-command.js +1 -1
  20. package/dist/commands/journey-command.js +1 -1
  21. package/dist/commands/journey-validate-command.js +1 -1
  22. package/dist/commands/llm-command.js +1 -1
  23. package/dist/commands/llm-proxy.js +1 -1
  24. package/dist/commands/parent-segment-command.js +1 -1
  25. package/dist/commands/profile-command.js +1 -1
  26. package/dist/commands/profiles-command.js +1 -1
  27. package/dist/commands/query-command.js +1 -1
  28. package/dist/commands/segment-command.js +1 -1
  29. package/dist/commands/segment-create-command.js +1 -1
  30. package/dist/commands/segment-fields-command.js +1 -1
  31. package/dist/commands/segment-pull-command.js +1 -1
  32. package/dist/commands/segment-push-command.js +1 -1
  33. package/dist/commands/segment-update-command.js +1 -1
  34. package/dist/commands/segment-use-command.js +1 -1
  35. package/dist/commands/segment-validate-command.js +1 -1
  36. package/dist/commands/segments.js +1 -1
  37. package/dist/commands/show.js +1 -1
  38. package/dist/commands/tables.js +1 -1
  39. package/dist/commands/unset-command.js +1 -1
  40. package/dist/commands/use-command.js +1 -1
  41. package/dist/commands/user-command.js +1 -1
  42. package/dist/commands/workflow-command.js +1 -1
  43. package/dist/core/auth.js +1 -1
  44. package/dist/core/command-output.js +1 -1
  45. package/dist/core/config.js +1 -1
  46. package/dist/core/connection-cache.js +1 -1
  47. package/dist/core/constants.js +1 -1
  48. package/dist/core/credential-cache.js +1 -1
  49. package/dist/core/global-context.js +1 -1
  50. package/dist/core/keychain.js +1 -1
  51. package/dist/core/profile.js +1 -1
  52. package/dist/core/project-config.js +1 -1
  53. package/dist/core/session.js +1 -1
  54. package/dist/core/user-cache.js +1 -1
  55. package/dist/core/version.js +1 -1
  56. package/dist/index.js +1 -1
  57. package/dist/proxy/anthropic-adapter.js +1 -1
  58. package/dist/proxy/claude-usage-tracker.js +1 -1
  59. package/dist/proxy/context-signature.js +1 -1
  60. package/dist/proxy/conversation-utils.js +1 -1
  61. package/dist/proxy/passthrough-server.js +1 -1
  62. package/dist/proxy/server.js +1 -1
  63. package/dist/proxy/session-cache.js +1 -1
  64. package/dist/proxy/sse-usage-parser.js +1 -1
  65. package/dist/sdk/agent/agent-config.js +1 -1
  66. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  67. package/dist/sdk/agent/agent-yaml.js +1 -1
  68. package/dist/sdk/api.js +1 -1
  69. package/dist/sdk/client/cdp-api-client.js +1 -1
  70. package/dist/sdk/client/endpoints.js +1 -1
  71. package/dist/sdk/client/engage-api-client.js +1 -1
  72. package/dist/sdk/client/http-client.js +1 -1
  73. package/dist/sdk/client/llm-api-client.js +1 -1
  74. package/dist/sdk/client/rate-limiter.js +1 -1
  75. package/dist/sdk/client/td-api-client.js +1 -1
  76. package/dist/sdk/client/trino-api-client.d.ts.map +1 -1
  77. package/dist/sdk/client/trino-api-client.js +1 -1
  78. package/dist/sdk/client/trino-api-client.js.map +1 -1
  79. package/dist/sdk/client/workflow-client.js +1 -1
  80. package/dist/sdk/connection-validator.js +1 -1
  81. package/dist/sdk/connection.js +1 -1
  82. package/dist/sdk/engage.js +1 -1
  83. package/dist/sdk/errors.js +1 -1
  84. package/dist/sdk/index.js +1 -1
  85. package/dist/sdk/io/index.js +1 -1
  86. package/dist/sdk/io/node-filesystem.js +1 -1
  87. package/dist/sdk/job.js +1 -1
  88. package/dist/sdk/journey.js +1 -1
  89. package/dist/sdk/llm/chat-cache.js +1 -1
  90. package/dist/sdk/llm/index.js +1 -1
  91. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  92. package/dist/sdk/llm/model-aliases.js +1 -1
  93. package/dist/sdk/llm/model-factors.js +1 -1
  94. package/dist/sdk/query/index.js +1 -1
  95. package/dist/sdk/query/sql-parser.js +1 -1
  96. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  97. package/dist/sdk/segment/fields-display.js +1 -1
  98. package/dist/sdk/segment/file-discovery.js +1 -1
  99. package/dist/sdk/segment/journey-utils.js +1 -1
  100. package/dist/sdk/segment/journey-yaml.js +1 -1
  101. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  102. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  103. package/dist/sdk/segment/pull-workflow.js +1 -1
  104. package/dist/sdk/segment/push-workflow.js +1 -1
  105. package/dist/sdk/segment/resolution-context.js +1 -1
  106. package/dist/sdk/segment/segment-path-parser.js +1 -1
  107. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  108. package/dist/sdk/segment/target-resolution.js +1 -1
  109. package/dist/sdk/segment/tdx-config.js +1 -1
  110. package/dist/sdk/segment/validate-files.js +1 -1
  111. package/dist/sdk/segment/yaml-validator.js +1 -1
  112. package/dist/sdk/segment.js +1 -1
  113. package/dist/sdk/types/index.js +1 -1
  114. package/dist/sdk/types/progress.js +1 -1
  115. package/dist/sdk/user.js +1 -1
  116. package/dist/sdk/util/format-detector.js +1 -1
  117. package/dist/sdk/util/formatters.js +1 -1
  118. package/dist/sdk/util/index.js +1 -1
  119. package/dist/sdk/util/tree-formatter.js +1 -1
  120. package/dist/sdk/workflow/clone-workflow.js +1 -1
  121. package/dist/sdk/workflow/index.js +1 -1
  122. package/dist/sdk/workflow/pull-workflow.js +1 -1
  123. package/dist/sdk/workflow/push-workflow.js +1 -1
  124. package/dist/sdk/workflow/tdx-config.js +1 -1
  125. package/dist/sdk/workflow/workflow-utils.js +1 -1
  126. package/dist/tdx +10 -0
  127. package/dist/utils/async.js +1 -1
  128. package/dist/utils/colors.d.ts +2 -1
  129. package/dist/utils/colors.d.ts.map +1 -1
  130. package/dist/utils/colors.js +1 -1
  131. package/dist/utils/colors.js.map +1 -1
  132. package/dist/utils/diff.js +1 -1
  133. package/dist/utils/file-permissions.js +1 -1
  134. package/dist/utils/json-loader.js +1 -1
  135. package/dist/utils/option-validation.js +1 -1
  136. package/dist/utils/port.js +1 -1
  137. package/dist/utils/process.js +1 -1
  138. package/dist/utils/prompt.js +1 -1
  139. package/dist/utils/spinner.js +1 -1
  140. package/dist/utils/sse-parser.js +1 -1
  141. package/dist/utils/string-utils.js +1 -1
  142. package/dist/utils/table-ref-parser.js +1 -1
  143. package/dist/utils/tdx-logger.js +1 -1
  144. package/dist/utils/version-check.js +1 -1
  145. package/package.json +2 -2
package/README.md CHANGED
@@ -57,6 +57,27 @@ For detailed documentation, visit [https://tdx.treasuredata.com/](https://tdx.tr
57
57
  - **Node.js 22.0.0 or higher** (Node.js 24 Active LTS recommended)
58
58
  - TD API key with appropriate permissions
59
59
 
60
+ ## TDX Studio (Desktop App)
61
+
62
+ TDX Studio is an AI-native desktop application built with Electron + React. It bundles the tdx CLI.
63
+
64
+ ```bash
65
+ cd tdx-studio
66
+ npm install # Install dependencies first
67
+
68
+ # Development (hot reload)
69
+ npm run dev
70
+
71
+ # Production build
72
+ cd .. # Go back to root
73
+ npm run build:ts # 1. Build tdx CLI first
74
+ cd tdx-studio # 2. Package TDX Studio
75
+ npm run package:mac # macOS (.dmg)
76
+ npm run package:win # Windows (.exe)
77
+ ```
78
+
79
+ See [tdx-studio/README.md](tdx-studio/README.md) for detailed documentation.
80
+
60
81
  ## Contributing
61
82
 
62
83
  This project is maintained by the Treasure Data DevAI Unit.
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x288e3f,_0x12e93f){var _0x8e9616=a0_0x39f0,_0xabec0a=_0x288e3f();while(!![]){try{var _0x4e3bf9=-parseInt(_0x8e9616(0x18a))/0x1*(-parseInt(_0x8e9616(0x18d))/0x2)+parseInt(_0x8e9616(0x190))/0x3+-parseInt(_0x8e9616(0x193))/0x4+parseInt(_0x8e9616(0x191))/0x5+parseInt(_0x8e9616(0x18f))/0x6*(-parseInt(_0x8e9616(0x18e))/0x7)+-parseInt(_0x8e9616(0x18c))/0x8+-parseInt(_0x8e9616(0x18b))/0x9*(-parseInt(_0x8e9616(0x192))/0xa);if(_0x4e3bf9===_0x12e93f)break;else _0xabec0a['push'](_0xabec0a['shift']());}catch(_0x349ad0){_0xabec0a['push'](_0xabec0a['shift']());}}}(a0_0x546e,0x97568));function a0_0x39f0(_0x3b248a,_0x2123ae){_0x3b248a=_0x3b248a-0x18a;var _0x546ef2=a0_0x546e();var _0x39f065=_0x546ef2[_0x3b248a];return _0x39f065;}import{runCLI}from'./cli.js';runCLI();function a0_0x546e(){var _0x409e0c=['524iMVMaC','8113189RTzkoc','6okxCRf','3292263KkcUpl','5495680gZaliZ','40wcJkJn','2587028RzCGJW','3521IBRHpt','1122453ahJDLp','9538104GLcUqh'];a0_0x546e=function(){return _0x409e0c;};return a0_0x546e();}
2
+ (function(_0x54c2eb,_0x1d93bf){var _0x15e601=a0_0x3fc5,_0x29bc93=_0x54c2eb();while(!![]){try{var _0x5b55a9=parseInt(_0x15e601(0xd8))/0x1*(parseInt(_0x15e601(0xe0))/0x2)+-parseInt(_0x15e601(0xd7))/0x3*(-parseInt(_0x15e601(0xde))/0x4)+parseInt(_0x15e601(0xd9))/0x5*(parseInt(_0x15e601(0xd6))/0x6)+parseInt(_0x15e601(0xdc))/0x7+-parseInt(_0x15e601(0xdb))/0x8*(parseInt(_0x15e601(0xda))/0x9)+parseInt(_0x15e601(0xd5))/0xa+-parseInt(_0x15e601(0xdf))/0xb*(parseInt(_0x15e601(0xdd))/0xc);if(_0x5b55a9===_0x1d93bf)break;else _0x29bc93['push'](_0x29bc93['shift']());}catch(_0x4c4776){_0x29bc93['push'](_0x29bc93['shift']());}}}(a0_0x53f3,0xb3f26));function a0_0x3fc5(_0x44b9c9,_0x24ce18){_0x44b9c9=_0x44b9c9-0xd5;var _0x53f353=a0_0x53f3();var _0x3fc59c=_0x53f353[_0x44b9c9];return _0x3fc59c;}import{runCLI}from'./cli.js';runCLI();function a0_0x53f3(){var _0x29435a=['7971DOHXHs','24535KghVqe','1018341oCZJKW','72whEtgU','3106152pLqUIt','1104ocLjkA','538364HJHWcd','115577kpRwau','22AwzWQX','462780zTMKbB','1470EwofTD','21EabGNu'];a0_0x53f3=function(){return _0x29435a;};return a0_0x53f3();}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.14.7",
3
- "gitRevision": "54ccd69",
4
- "buildTime": "2026-01-15 05:51:15+0000"
2
+ "version": "0.14.9",
3
+ "gitRevision": "e64c8e2",
4
+ "buildTime": "2026-01-16 03:10:40+0000"
5
5
  }
@@ -1 +1 @@
1
- function a1_0xab07(_0x51a733,_0x422336){_0x51a733=_0x51a733-0x69;const _0x3db354=a1_0x3db3();let _0xab0734=_0x3db354[_0x51a733];return _0xab0734;}const a1_0x1316e1=a1_0xab07;(function(_0x498bf6,_0x412ae6){const _0xa2e0d1=a1_0xab07,_0x5012ec=_0x498bf6();while(!![]){try{const _0x4c5a79=-parseInt(_0xa2e0d1(0x8b))/0x1+parseInt(_0xa2e0d1(0x77))/0x2*(parseInt(_0xa2e0d1(0x7e))/0x3)+-parseInt(_0xa2e0d1(0x6e))/0x4*(-parseInt(_0xa2e0d1(0x6d))/0x5)+-parseInt(_0xa2e0d1(0x94))/0x6*(-parseInt(_0xa2e0d1(0x80))/0x7)+parseInt(_0xa2e0d1(0x7d))/0x8*(-parseInt(_0xa2e0d1(0x84))/0x9)+parseInt(_0xa2e0d1(0x91))/0xa*(-parseInt(_0xa2e0d1(0x81))/0xb)+parseInt(_0xa2e0d1(0x69))/0xc*(parseInt(_0xa2e0d1(0x78))/0xd);if(_0x4c5a79===_0x412ae6)break;else _0x5012ec['push'](_0x5012ec['shift']());}catch(_0x4d54f1){_0x5012ec['push'](_0x5012ec['shift']());}}}(a1_0x3db3,0x84ab1));import a1_0x3c4a07 from'chalk';export const COMMAND_CATEGORIES=[{'name':a1_0x1316e1(0x73),'colorFn':a1_0x3c4a07[a1_0x1316e1(0x79)],'commands':[a1_0x1316e1(0x6a),'table',a1_0x1316e1(0x75),a1_0x1316e1(0x8e),'query',a1_0x1316e1(0x7b),a1_0x1316e1(0x70)]},{'name':a1_0x1316e1(0x6c),'colorFn':a1_0x3c4a07[a1_0x1316e1(0x93)],'commands':[a1_0x1316e1(0x8a),a1_0x1316e1(0x89),'journey',a1_0x1316e1(0x92),a1_0x1316e1(0x82),a1_0x1316e1(0x74),a1_0x1316e1(0x87)]},{'name':'AI','colorFn':a1_0x3c4a07[a1_0x1316e1(0x8f)],'commands':[a1_0x1316e1(0x8d),a1_0x1316e1(0x7c),a1_0x1316e1(0x76),a1_0x1316e1(0x85),a1_0x1316e1(0x6b),'claude']},{'name':a1_0x1316e1(0x8c),'colorFn':a1_0x3c4a07[a1_0x1316e1(0x90)],'commands':[a1_0x1316e1(0x86),a1_0x1316e1(0x71),a1_0x1316e1(0x7f),a1_0x1316e1(0x72),a1_0x1316e1(0x6f),'user',a1_0x1316e1(0x83)]},{'name':a1_0x1316e1(0x88),'colorFn':a1_0x3c4a07['green'],'commands':[a1_0x1316e1(0x7a)]}];function a1_0x3db3(){const _0x169fd8=['chats','use','connection','Utilities','parent-segment','segment','289225BmDCZg','Context','agent','describe','cyan','yellow','10190XCQIAO','journeys','magenta','714oNHcdj','556188QPzond','database','llm','CDP','730SdiCfc','3824rVFbCV','auth','workflow','unset','profiles','Data','engage','show','chat','608284skwHzJ','351qPhtiQ','blue','api','job','agents','8REbzXv','6lonMuw','profile','36260LIYOuF','11099YCmnHi','activations','users','6794082xuNllI'];a1_0x3db3=function(){return _0x169fd8;};return a1_0x3db3();}
1
+ const a1_0x1d8236=a1_0x3f7a;(function(_0xa5755c,_0x4c627f){const _0x432fe4=a1_0x3f7a,_0x12c4f0=_0xa5755c();while(!![]){try{const _0x2707ae=-parseInt(_0x432fe4(0x200))/0x1*(parseInt(_0x432fe4(0x209))/0x2)+parseInt(_0x432fe4(0x1f8))/0x3+-parseInt(_0x432fe4(0x1e5))/0x4+-parseInt(_0x432fe4(0x1f1))/0x5*(-parseInt(_0x432fe4(0x20b))/0x6)+-parseInt(_0x432fe4(0x1ea))/0x7*(parseInt(_0x432fe4(0x204))/0x8)+-parseInt(_0x432fe4(0x205))/0x9*(parseInt(_0x432fe4(0x203))/0xa)+-parseInt(_0x432fe4(0x1f5))/0xb*(-parseInt(_0x432fe4(0x1f2))/0xc);if(_0x2707ae===_0x4c627f)break;else _0x12c4f0['push'](_0x12c4f0['shift']());}catch(_0x4fd9d9){_0x12c4f0['push'](_0x12c4f0['shift']());}}}(a1_0x5db0,0x9df96));function a1_0x3f7a(_0x2dbbf0,_0x1511ae){_0x2dbbf0=_0x2dbbf0-0x1e4;const _0x5db009=a1_0x5db0();let _0x3f7a6e=_0x5db009[_0x2dbbf0];return _0x3f7a6e;}function a1_0x5db0(){const _0x2cc18f=['segment','unset','describe','3623usLzwI','Context','job','10hVtDhk','16rgyVZW','9448533OAQyVH','use','chats','profile','410CLluvW','yellow','7205988XSeapG','Utilities','green','2249192uiBqAt','show','cyan','journey','agents','2866458LkuHmO','profiles','agent','engage','claude','query','api','5lJcJcB','2460qLbHzX','connection','users','85789ickhOZ','auth','magenta','3063321etgAUj','table','workflow','llm','user'];a1_0x5db0=function(){return _0x2cc18f;};return a1_0x5db0();}import a1_0x348a79 from'chalk';export const COMMAND_CATEGORIES=[{'name':'Data','colorFn':a1_0x348a79['blue'],'commands':['database',a1_0x1d8236(0x1f9),a1_0x1d8236(0x1e6),a1_0x1d8236(0x1ff),a1_0x1d8236(0x1ef),a1_0x1d8236(0x202),a1_0x1d8236(0x1fa)]},{'name':'CDP','colorFn':a1_0x348a79[a1_0x1d8236(0x1f7)],'commands':[a1_0x1d8236(0x1fd),'parent-segment',a1_0x1d8236(0x1e8),'journeys','activations',a1_0x1d8236(0x1ed),a1_0x1d8236(0x1f3)]},{'name':'AI','colorFn':a1_0x348a79[a1_0x1d8236(0x1e7)],'commands':[a1_0x1d8236(0x1ec),a1_0x1d8236(0x1e9),'chat',a1_0x1d8236(0x207),a1_0x1d8236(0x1fb),a1_0x1d8236(0x1ee)]},{'name':a1_0x1d8236(0x201),'colorFn':a1_0x348a79[a1_0x1d8236(0x20a)],'commands':[a1_0x1d8236(0x206),a1_0x1d8236(0x1fe),a1_0x1d8236(0x208),a1_0x1d8236(0x1eb),a1_0x1d8236(0x1f6),a1_0x1d8236(0x1fc),a1_0x1d8236(0x1f4)]},{'name':a1_0x1d8236(0x20c),'colorFn':a1_0x348a79[a1_0x1d8236(0x1e4)],'commands':[a1_0x1d8236(0x1f0)]}];