tide-commander 0.61.4 → 0.63.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 (82) hide show
  1. package/README.md +6 -2
  2. package/dist/assets/browser-ponyfill-DIm4hKhx.js +2 -0
  3. package/dist/assets/{main-BNzlLSuH.css → main-CSdXdPFi.css} +1 -1
  4. package/dist/assets/main-b6HDAYYm.js +296 -0
  5. package/dist/index.html +2 -2
  6. package/dist/locales/de/common.json +326 -0
  7. package/dist/locales/de/config.json +304 -0
  8. package/dist/locales/de/dashboard.json +76 -0
  9. package/dist/locales/de/errors.json +56 -0
  10. package/dist/locales/de/notifications.json +48 -0
  11. package/dist/locales/de/terminal.json +1034 -0
  12. package/dist/locales/de/tools.json +276 -0
  13. package/dist/locales/en/common.json +326 -0
  14. package/dist/locales/en/config.json +304 -0
  15. package/dist/locales/en/dashboard.json +76 -0
  16. package/dist/locales/en/errors.json +56 -0
  17. package/dist/locales/en/notifications.json +48 -0
  18. package/dist/locales/en/terminal.json +1034 -0
  19. package/dist/locales/en/tools.json +276 -0
  20. package/dist/locales/es/common.json +326 -0
  21. package/dist/locales/es/config.json +304 -0
  22. package/dist/locales/es/dashboard.json +76 -0
  23. package/dist/locales/es/errors.json +56 -0
  24. package/dist/locales/es/notifications.json +48 -0
  25. package/dist/locales/es/terminal.json +1034 -0
  26. package/dist/locales/es/tools.json +276 -0
  27. package/dist/locales/fr/common.json +326 -0
  28. package/dist/locales/fr/config.json +304 -0
  29. package/dist/locales/fr/dashboard.json +76 -0
  30. package/dist/locales/fr/errors.json +56 -0
  31. package/dist/locales/fr/notifications.json +48 -0
  32. package/dist/locales/fr/terminal.json +1034 -0
  33. package/dist/locales/fr/tools.json +276 -0
  34. package/dist/locales/hi/common.json +326 -0
  35. package/dist/locales/hi/config.json +304 -0
  36. package/dist/locales/hi/dashboard.json +76 -0
  37. package/dist/locales/hi/errors.json +56 -0
  38. package/dist/locales/hi/notifications.json +48 -0
  39. package/dist/locales/hi/terminal.json +1034 -0
  40. package/dist/locales/hi/tools.json +276 -0
  41. package/dist/locales/it/common.json +326 -0
  42. package/dist/locales/it/config.json +304 -0
  43. package/dist/locales/it/dashboard.json +76 -0
  44. package/dist/locales/it/errors.json +56 -0
  45. package/dist/locales/it/notifications.json +48 -0
  46. package/dist/locales/it/terminal.json +1034 -0
  47. package/dist/locales/it/tools.json +276 -0
  48. package/dist/locales/ja/common.json +326 -0
  49. package/dist/locales/ja/config.json +304 -0
  50. package/dist/locales/ja/dashboard.json +76 -0
  51. package/dist/locales/ja/errors.json +56 -0
  52. package/dist/locales/ja/notifications.json +48 -0
  53. package/dist/locales/ja/terminal.json +1034 -0
  54. package/dist/locales/ja/tools.json +276 -0
  55. package/dist/locales/pt/common.json +326 -0
  56. package/dist/locales/pt/config.json +304 -0
  57. package/dist/locales/pt/dashboard.json +76 -0
  58. package/dist/locales/pt/errors.json +56 -0
  59. package/dist/locales/pt/notifications.json +48 -0
  60. package/dist/locales/pt/terminal.json +1034 -0
  61. package/dist/locales/pt/tools.json +276 -0
  62. package/dist/locales/ru/common.json +326 -0
  63. package/dist/locales/ru/config.json +304 -0
  64. package/dist/locales/ru/dashboard.json +76 -0
  65. package/dist/locales/ru/errors.json +56 -0
  66. package/dist/locales/ru/notifications.json +48 -0
  67. package/dist/locales/ru/terminal.json +1034 -0
  68. package/dist/locales/ru/tools.json +276 -0
  69. package/dist/locales/zh-CN/common.json +326 -0
  70. package/dist/locales/zh-CN/config.json +304 -0
  71. package/dist/locales/zh-CN/dashboard.json +76 -0
  72. package/dist/locales/zh-CN/errors.json +56 -0
  73. package/dist/locales/zh-CN/notifications.json +48 -0
  74. package/dist/locales/zh-CN/terminal.json +1034 -0
  75. package/dist/locales/zh-CN/tools.json +276 -0
  76. package/dist/src/packages/server/app.js +7 -2
  77. package/dist/src/packages/server/routes/files.js +57 -0
  78. package/dist/src/packages/server/routes/index.js +2 -0
  79. package/dist/src/packages/server/routes/perf.js +170 -0
  80. package/dist/src/packages/server/websocket/handler.js +5 -0
  81. package/package.json +5 -1
  82. package/dist/assets/main-7Sdu8iJR.js +0 -290
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  ![Tide Commander Preview](https://raw.githubusercontent.com/deivid11/tide-commander/master/docs/preview-3d.png)
6
6
 
7
7
  [![Watch the demo](https://img.shields.io/badge/YouTube-Watch%20Demo-red?style=for-the-badge&logo=youtube)](https://www.youtube.com/watch?v=r1Op_xfhqOM)
8
+ [![npm version](https://img.shields.io/npm/v/tide-commander?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/tide-commander)
8
9
 
9
10
  Tide Commander is a Claude Code and Codex orchestrator and manager that lets you deploy, control, and monitor multiple AI coding agents from a single visual interface. Spawn agents, assign tasks, and watch them work in real-time on an RTS-inspired 3D battlefield — or switch to a lightweight 2D canvas or a metrics dashboard.
10
11
 
@@ -167,6 +168,7 @@ AI coding orchestration and multi-agent management features:
167
168
 
168
169
  ![Inline File Inspection](https://raw.githubusercontent.com/deivid11/tide-commander/master/docs/img/edit_dtails_while_chatting.png)
169
170
  - 🌐 **Multiplayer** - WebSocket-based multi-user support
171
+ - 🌍 **Multilingual** - Full i18n support with 10 languages: English, Spanish, French, German, Italian, Portuguese, Russian, Chinese, Japanese, and Hindi
170
172
  - 📱 **Mobile Compatible** - Works on mobile devices and Android (optional APK)
171
173
 
172
174
  ## 📚 Documentation
@@ -181,6 +183,8 @@ Detailed guides for each feature are available in the [`docs/`](docs/) folder:
181
183
  | [Snapshots](docs/snapshots.md) | Save and restore conversation history and file artifacts |
182
184
  | [Secrets](docs/secrets.md) | Secure credential storage with placeholder injection |
183
185
  | [Architecture](docs/architecture.md) | Runtime architecture, command flow, and incremental improvements |
186
+ | [REST API (OpenAPI)](docs/openapi.yaml) | Machine-readable OpenAPI 3.1 spec for `/api` HTTP routes |
187
+ | [WebSocket API (AsyncAPI)](docs/asyncapi.yaml) | Machine-readable AsyncAPI 2.6 spec for `/ws` message contracts |
184
188
  | [Views & UI](docs/views.md) | 3D, 2D, Dashboard, Commander View, Guake terminal, and Spotlight |
185
189
  | [Android APK](docs/android.md) | Build and install the optional mobile companion app |
186
190
  | [Docker Deployment](docs/docker.md) | Run Tide Commander in a Docker container |
@@ -385,10 +389,10 @@ Join the Discord to chat, share feedback, report bugs, or request features:
385
389
  Planned features and improvements — contributions and feedback welcome:
386
390
 
387
391
  - [ ] **Test Coverage** — Unit, integration, and E2E tests (currently minimal)
388
- - [ ] **Multilingual Support** — i18n with translations for Chinese, French, Spanish, and more
392
+ - [x] **Multilingual Support** — i18n with 10 languages (EN, ES, FR, DE, IT, PT, RU, ZH, JA, HI)
389
393
  - [x] **Codex Integration** — Compatible with OpenAI Codex CLI alongside Claude Code
390
394
  - [ ] **Buildings Plugin System** — External plugin API for community-built building types
391
- - [ ] **API Documentation** — OpenAPI/Swagger spec for the REST and WebSocket APIs
395
+ - [x] **API Documentation** — OpenAPI/Swagger spec for the REST and WebSocket APIs
392
396
  - [ ] **Observability** — Error tracking, logging aggregation, and performance monitoring
393
397
 
394
398
  Have a feature idea or found a bug? Open an [issue](https://github.com/your-repo/tide-commander/issues) or drop it in the [Discord](https://discord.gg/MymXXDCvf).
@@ -0,0 +1,2 @@
1
+ import{c as R,g as z}from"./vendor-react-uS-d4TUT.js";function X(w,d){for(var b=0;b<d.length;b++){const y=d[b];if(typeof y!="string"&&!Array.isArray(y)){for(const h in y)if(h!=="default"&&!(h in w)){const p=Object.getOwnPropertyDescriptor(y,h);p&&Object.defineProperty(w,h,p.get?p:{enumerable:!0,get:()=>y[h]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var A={exports:{}},U;function J(){return U||(U=1,(function(w,d){var b=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof R<"u"&&R,y=(function(){function p(){this.fetch=!1,this.DOMException=b.DOMException}return p.prototype=b,new p})();(function(p){(function(u){var a=typeof p<"u"&&p||typeof self<"u"&&self||typeof a<"u"&&a,f={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};function S(e){return e&&DataView.prototype.isPrototypeOf(e)}if(f.arrayBuffer)var F=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],I=ArrayBuffer.isView||function(e){return e&&F.indexOf(Object.prototype.toString.call(e))>-1};function v(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function E(e){return typeof e!="string"&&(e=String(e)),e}function T(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return f.iterable&&(t[Symbol.iterator]=function(){return t}),t}function s(e){this.map={},e instanceof s?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}s.prototype.append=function(e,t){e=v(e),t=E(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},s.prototype.delete=function(e){delete this.map[v(e)]},s.prototype.get=function(e){return e=v(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(v(e))},s.prototype.set=function(e,t){this.map[v(e)]=E(t)},s.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},s.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),T(e)},s.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),T(e)},s.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),T(e)},f.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);function B(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function P(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function M(e){var t=new FileReader,r=P(t);return t.readAsArrayBuffer(e),r}function q(e){var t=new FileReader,r=P(t);return t.readAsText(e),r}function H(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function D(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function x(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:f.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:f.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:f.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():f.arrayBuffer&&f.blob&&S(e)?(this._bodyArrayBuffer=D(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):f.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||I(e))?this._bodyArrayBuffer=D(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},f.blob&&(this.blob=function(){var e=B(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=B(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(M)}),this.text=function(){var e=B(this);if(e)return e;if(this._bodyBlob)return q(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(H(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},f.formData&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function C(e){var t=e.toUpperCase();return L.indexOf(t)>-1?t:e}function m(e,t){if(!(this instanceof m))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof m){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new s(t.headers)),this.method=C(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})};function k(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(o))}}),t}function N(e){var t=new s,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
2
+ `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),o=i.shift().trim();if(o){var _=i.join(":").trim();t.append(o,_)}}),t}x.call(m.prototype);function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}x.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var G=[301,302,303,307,308];c.redirect=function(e,t){if(G.indexOf(t)===-1)throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},u.DOMException=a.DOMException;try{new u.DOMException}catch{u.DOMException=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function O(e,t){return new Promise(function(r,n){var i=new m(e,t);if(i.signal&&i.signal.aborted)return n(new u.DOMException("Aborted","AbortError"));var o=new XMLHttpRequest;function _(){o.abort()}o.onload=function(){var l={status:o.status,statusText:o.statusText,headers:N(o.getAllResponseHeaders()||"")};l.url="responseURL"in o?o.responseURL:l.headers.get("X-Request-URL");var g="response"in o?o.response:o.responseText;setTimeout(function(){r(new c(g,l))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){n(new u.DOMException("Aborted","AbortError"))},0)};function V(l){try{return l===""&&a.location.href?a.location.href:l}catch{return l}}o.open(i.method,V(i.url),!0),i.credentials==="include"?o.withCredentials=!0:i.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(f.blob?o.responseType="blob":f.arrayBuffer&&i.headers.get("Content-Type")&&i.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof s)?Object.getOwnPropertyNames(t.headers).forEach(function(l){o.setRequestHeader(l,E(t.headers[l]))}):i.headers.forEach(function(l,g){o.setRequestHeader(g,l)}),i.signal&&(i.signal.addEventListener("abort",_),o.onreadystatechange=function(){o.readyState===4&&i.signal.removeEventListener("abort",_)}),o.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}return O.polyfill=!0,a.fetch||(a.fetch=O,a.Headers=s,a.Request=m,a.Response=c),u.Headers=s,u.Request=m,u.Response=c,u.fetch=O,u})({})})(y),y.fetch.ponyfill=!0,delete y.fetch.polyfill;var h=b.fetch?b:y;d=h.fetch,d.default=h.fetch,d.fetch=h.fetch,d.Headers=h.Headers,d.Request=h.Request,d.Response=h.Response,w.exports=d})(A,A.exports)),A.exports}var j=J();const K=z(j),W=X({__proto__:null,default:K},[j]);export{W as b};