tide-commander 0.53.0 ā 0.53.2
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.
package/dist/index.html
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<meta name="apple-mobile-web-app-title" content="Tide CMD" />
|
|
20
20
|
<link rel="apple-touch-icon" href="/assets/icons/icon-192.png" />
|
|
21
21
|
<title>Tide Commander</title>
|
|
22
|
-
<script type="module" crossorigin src="/assets/main-
|
|
22
|
+
<script type="module" crossorigin src="/assets/main-rd_RRZq_.js"></script>
|
|
23
23
|
<link rel="modulepreload" crossorigin href="/assets/vendor-react-uS-d4TUT.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="/assets/vendor-three-4iQNXcoo.js">
|
|
25
25
|
<link rel="stylesheet" crossorigin href="/assets/main-BIpLsrUu.css">
|
|
@@ -239,7 +239,15 @@ async function main() {
|
|
|
239
239
|
writePidFile(child.pid);
|
|
240
240
|
}
|
|
241
241
|
child.unref();
|
|
242
|
-
|
|
242
|
+
const port = process.env.PORT || '5174';
|
|
243
|
+
const host = process.env.HOST || 'localhost';
|
|
244
|
+
const url = `http://${host}:${port}`;
|
|
245
|
+
console.log('\nš Tide Commander');
|
|
246
|
+
console.log('āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā');
|
|
247
|
+
console.log(`ā Started in background (PID: ${child.pid ?? 'unknown'})`);
|
|
248
|
+
console.log(`š Open: ${url}`);
|
|
249
|
+
console.log(`š Logs: tail -f logs/server.log`);
|
|
250
|
+
console.log('āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā\n');
|
|
243
251
|
return;
|
|
244
252
|
}
|
|
245
253
|
if (child.pid) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tide-commander",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.2",
|
|
4
4
|
"description": "Visual multi-agent orchestrator and manager for Claude Code with 3D/2D interface",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,20 +27,10 @@
|
|
|
27
27
|
"test:ci": "vitest run --exclude src/packages/client/hooks/__tests__/useSnapshots.test.ts --exclude src/packages/client/hooks/__tests__/useKeyboardShortcuts.test.ts",
|
|
28
28
|
"test:watch": "vitest",
|
|
29
29
|
"test:coverage": "vitest run --coverage",
|
|
30
|
-
"prepack": "npm run build"
|
|
31
|
-
"cap:sync": "npx cap sync android",
|
|
32
|
-
"cap:open": "npx cap open android",
|
|
33
|
-
"cap:build": "npm run build && npx cap sync android",
|
|
34
|
-
"android": "npm run build && npx cap sync android && npx cap open android"
|
|
30
|
+
"prepack": "npm run build"
|
|
35
31
|
},
|
|
36
32
|
"dependencies": {
|
|
37
33
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
38
|
-
"@capacitor/android": "^8.0.1",
|
|
39
|
-
"@capacitor/cli": "^8.0.1",
|
|
40
|
-
"@capacitor/core": "^8.0.1",
|
|
41
|
-
"@capacitor/haptics": "^8.0.0",
|
|
42
|
-
"@capacitor/local-notifications": "^8.0.0",
|
|
43
|
-
"@capawesome/capacitor-background-task": "^8.0.0",
|
|
44
34
|
"@tanstack/react-virtual": "^3.13.18",
|
|
45
35
|
"@types/oracledb": "^6.10.1",
|
|
46
36
|
"archiver": "^7.0.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{W as a,I as i,N as r}from"./main-B8eX8FW7.js";import"./vendor-react-uS-d4TUT.js";import"./vendor-three-4iQNXcoo.js";class l extends a{constructor(){super(...arguments),this.selectionStarted=!1}async impact(t){const e=this.patternForImpact(t==null?void 0:t.style);this.vibrateWithPattern(e)}async notification(t){const e=this.patternForNotification(t==null?void 0:t.type);this.vibrateWithPattern(e)}async vibrate(t){const e=(t==null?void 0:t.duration)||300;this.vibrateWithPattern([e])}async selectionStart(){this.selectionStarted=!0}async selectionChanged(){this.selectionStarted&&this.vibrateWithPattern([70])}async selectionEnd(){this.selectionStarted=!1}patternForImpact(t=i.Heavy){return t===i.Medium?[43]:t===i.Light?[20]:[61]}patternForNotification(t=r.Success){return t===r.Warning?[30,40,30,50,60]:t===r.Error?[27,45,50]:[35,65,21]}vibrateWithPattern(t){if(navigator.vibrate)navigator.vibrate(t);else throw this.unavailable("Browser does not support the vibrate API")}}export{l as HapticsWeb};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{W as s}from"./main-B8eX8FW7.js";import"./vendor-react-uS-d4TUT.js";import"./vendor-three-4iQNXcoo.js";class l extends s{constructor(){super(...arguments),this.pending=[],this.deliveredNotifications=[],this.hasNotificationSupport=()=>{if(!("Notification"in window)||!Notification.requestPermission)return!1;if(Notification.permission!=="granted")try{new Notification("")}catch(i){if(i instanceof Error&&i.name==="TypeError")return!1}return!0}}async getDeliveredNotifications(){const i=[];for(const t of this.deliveredNotifications){const e={title:t.title,id:parseInt(t.tag),body:t.body};i.push(e)}return{notifications:i}}async removeDeliveredNotifications(i){for(const t of i.notifications){const e=this.deliveredNotifications.find(n=>n.tag===String(t.id));e==null||e.close(),this.deliveredNotifications=this.deliveredNotifications.filter(()=>!e)}}async removeAllDeliveredNotifications(){for(const i of this.deliveredNotifications)i.close();this.deliveredNotifications=[]}async createChannel(){throw this.unimplemented("Not implemented on web.")}async deleteChannel(){throw this.unimplemented("Not implemented on web.")}async listChannels(){throw this.unimplemented("Not implemented on web.")}async schedule(i){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");for(const t of i.notifications)this.sendNotification(t);return{notifications:i.notifications.map(t=>({id:t.id}))}}async getPending(){return{notifications:this.pending}}async registerActionTypes(){throw this.unimplemented("Not implemented on web.")}async cancel(i){this.pending=this.pending.filter(t=>!i.notifications.find(e=>e.id===t.id))}async areEnabled(){const{display:i}=await this.checkPermissions();return{value:i==="granted"}}async changeExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async checkExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async requestPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(await Notification.requestPermission())}}async checkPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(Notification.permission)}}transformNotificationPermission(i){switch(i){case"granted":return"granted";case"denied":return"denied";default:return"prompt"}}sendPending(){var i;const t=[],e=new Date().getTime();for(const n of this.pending)!((i=n.schedule)===null||i===void 0)&&i.at&&n.schedule.at.getTime()<=e&&(this.buildNotification(n),t.push(n));this.pending=this.pending.filter(n=>!t.find(o=>o===n))}sendNotification(i){var t;if(!((t=i.schedule)===null||t===void 0)&&t.at){const e=i.schedule.at.getTime()-new Date().getTime();this.pending.push(i),setTimeout(()=>{this.sendPending()},e);return}this.buildNotification(i)}buildNotification(i){const t=new Notification(i.title,{body:i.body,tag:String(i.id)});return t.addEventListener("click",this.onClick.bind(this,i),!1),t.addEventListener("show",this.onShow.bind(this,i),!1),t.addEventListener("close",()=>{this.deliveredNotifications=this.deliveredNotifications.filter(()=>!this)},!1),this.deliveredNotifications.push(t),t}onClick(i){const t={actionId:"tap",notification:i};this.notifyListeners("localNotificationActionPerformed",t)}onShow(i){this.notifyListeners("localNotificationReceived",i)}}export{l as LocalNotificationsWeb};
|