@shin1ohno/sage 0.1.0 → 0.2.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.
- package/README.md +79 -114
- package/dist/config/storage/storage-factory.d.ts +5 -1
- package/dist/config/storage/storage-factory.d.ts.map +1 -1
- package/dist/config/storage/storage-factory.js +12 -19
- package/dist/config/storage/storage-factory.js.map +1 -1
- package/dist/core/sage-core.d.ts +10 -5
- package/dist/core/sage-core.d.ts.map +1 -1
- package/dist/core/sage-core.js +28 -51
- package/dist/core/sage-core.js.map +1 -1
- package/dist/index.js +335 -0
- package/dist/index.js.map +1 -1
- package/dist/integrations/apple-reminders.d.ts +46 -0
- package/dist/integrations/apple-reminders.d.ts.map +1 -1
- package/dist/integrations/apple-reminders.js +169 -0
- package/dist/integrations/apple-reminders.js.map +1 -1
- package/dist/integrations/notion-mcp.d.ts +136 -1
- package/dist/integrations/notion-mcp.d.ts.map +1 -1
- package/dist/integrations/notion-mcp.js +449 -1
- package/dist/integrations/notion-mcp.js.map +1 -1
- package/dist/integrations/task-synchronizer.d.ts +124 -0
- package/dist/integrations/task-synchronizer.d.ts.map +1 -0
- package/dist/integrations/task-synchronizer.js +363 -0
- package/dist/integrations/task-synchronizer.js.map +1 -0
- package/dist/integrations/todo-list-manager.d.ts +185 -0
- package/dist/integrations/todo-list-manager.d.ts.map +1 -0
- package/dist/integrations/todo-list-manager.js +581 -0
- package/dist/integrations/todo-list-manager.js.map +1 -0
- package/dist/platform/adapter-factory.d.ts.map +1 -1
- package/dist/platform/adapter-factory.js +4 -8
- package/dist/platform/adapter-factory.js.map +1 -1
- package/dist/platform/adapters/mcp-adapter.js +1 -1
- package/dist/platform/adapters/mcp-adapter.js.map +1 -1
- package/dist/platform/adapters/remote-mcp-adapter.d.ts +34 -0
- package/dist/platform/adapters/remote-mcp-adapter.d.ts.map +1 -0
- package/dist/platform/adapters/remote-mcp-adapter.js +54 -0
- package/dist/platform/adapters/remote-mcp-adapter.js.map +1 -0
- package/dist/platform/detector.d.ts +5 -16
- package/dist/platform/detector.d.ts.map +1 -1
- package/dist/platform/detector.js +52 -108
- package/dist/platform/detector.js.map +1 -1
- package/dist/platform/index.d.ts +0 -2
- package/dist/platform/index.d.ts.map +1 -1
- package/dist/platform/index.js +0 -2
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/types.d.ts +20 -62
- package/dist/platform/types.d.ts.map +1 -1
- package/dist/platform/types.js +6 -11
- package/dist/platform/types.js.map +1 -1
- package/dist/remote/cloud-config.d.ts +139 -0
- package/dist/remote/cloud-config.d.ts.map +1 -0
- package/dist/remote/cloud-config.js +229 -0
- package/dist/remote/cloud-config.js.map +1 -0
- package/dist/remote/hybrid-integration.d.ts +109 -0
- package/dist/remote/hybrid-integration.d.ts.map +1 -0
- package/dist/remote/hybrid-integration.js +230 -0
- package/dist/remote/hybrid-integration.js.map +1 -0
- package/dist/remote/remote-mcp-server.d.ts +244 -0
- package/dist/remote/remote-mcp-server.d.ts.map +1 -0
- package/dist/remote/remote-mcp-server.js +507 -0
- package/dist/remote/remote-mcp-server.js.map +1 -0
- package/dist/utils/priority.d.ts.map +1 -1
- package/dist/utils/priority.js +18 -5
- package/dist/utils/priority.js.map +1 -1
- package/dist/utils/stakeholders.d.ts +4 -0
- package/dist/utils/stakeholders.d.ts.map +1 -1
- package/dist/utils/stakeholders.js +45 -4
- package/dist/utils/stakeholders.js.map +1 -1
- package/dist/utils/task-splitter.d.ts.map +1 -1
- package/dist/utils/task-splitter.js +62 -11
- package/dist/utils/task-splitter.js.map +1 -1
- package/manifest.json +74 -0
- package/package.json +2 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Remote MCP Adapter
|
|
3
|
+
* Platform adapter for Remote MCP environment (iOS/iPadOS/Web clients)
|
|
4
|
+
* Requirements: 7.1, 7.4
|
|
5
|
+
*
|
|
6
|
+
* Remote MCP clients connect via the Remote MCP Server
|
|
7
|
+
*/
|
|
8
|
+
import type { PlatformAdapter, PlatformInfo, FeatureSet } from '../types.js';
|
|
9
|
+
/**
|
|
10
|
+
* Adapter for Remote MCP environment
|
|
11
|
+
* Used for iOS/iPadOS/Web clients connecting via Remote MCP Server
|
|
12
|
+
*/
|
|
13
|
+
export declare class RemoteMCPAdapter implements PlatformAdapter {
|
|
14
|
+
private platformInfo;
|
|
15
|
+
private featureSet;
|
|
16
|
+
constructor();
|
|
17
|
+
/**
|
|
18
|
+
* Get platform information
|
|
19
|
+
*/
|
|
20
|
+
getPlatformInfo(): PlatformInfo;
|
|
21
|
+
/**
|
|
22
|
+
* Get available features on this platform
|
|
23
|
+
*/
|
|
24
|
+
getAvailableFeatures(): FeatureSet;
|
|
25
|
+
/**
|
|
26
|
+
* Initialize the adapter
|
|
27
|
+
*/
|
|
28
|
+
initialize(): Promise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Check if a specific capability is available
|
|
31
|
+
*/
|
|
32
|
+
isCapabilityAvailable(capability: string): boolean;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=remote-mcp-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-mcp-adapter.d.ts","sourceRoot":"","sources":["../../../src/platform/adapters/remote-mcp-adapter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG7E;;;GAGG;AACH,qBAAa,gBAAiB,YAAW,eAAe;IACtD,OAAO,CAAC,YAAY,CAAe;IACnC,OAAO,CAAC,UAAU,CAAa;;IAY/B;;OAEG;IACH,eAAe,IAAI,YAAY;IAI/B;;OAEG;IACH,oBAAoB,IAAI,UAAU;IAIlC;;OAEG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAQjC;;OAEG;IACH,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;CAGnD"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Remote MCP Adapter
|
|
3
|
+
* Platform adapter for Remote MCP environment (iOS/iPadOS/Web clients)
|
|
4
|
+
* Requirements: 7.1, 7.4
|
|
5
|
+
*
|
|
6
|
+
* Remote MCP clients connect via the Remote MCP Server
|
|
7
|
+
*/
|
|
8
|
+
import { PlatformDetector } from '../detector.js';
|
|
9
|
+
/**
|
|
10
|
+
* Adapter for Remote MCP environment
|
|
11
|
+
* Used for iOS/iPadOS/Web clients connecting via Remote MCP Server
|
|
12
|
+
*/
|
|
13
|
+
export class RemoteMCPAdapter {
|
|
14
|
+
platformInfo;
|
|
15
|
+
featureSet;
|
|
16
|
+
constructor() {
|
|
17
|
+
this.platformInfo = {
|
|
18
|
+
type: 'remote_mcp',
|
|
19
|
+
version: '1.0.0',
|
|
20
|
+
capabilities: PlatformDetector.getCapabilities('remote_mcp'),
|
|
21
|
+
integrations: PlatformDetector.getIntegrations('remote_mcp'),
|
|
22
|
+
};
|
|
23
|
+
this.featureSet = PlatformDetector.getFeatureSet('remote_mcp');
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get platform information
|
|
27
|
+
*/
|
|
28
|
+
getPlatformInfo() {
|
|
29
|
+
return this.platformInfo;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get available features on this platform
|
|
33
|
+
*/
|
|
34
|
+
getAvailableFeatures() {
|
|
35
|
+
return this.featureSet;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Initialize the adapter
|
|
39
|
+
*/
|
|
40
|
+
async initialize() {
|
|
41
|
+
// Remote MCP adapter initialization
|
|
42
|
+
// In the future, this could:
|
|
43
|
+
// - Establish connection to Remote MCP Server
|
|
44
|
+
// - Load cloud configuration
|
|
45
|
+
// - Setup authentication
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Check if a specific capability is available
|
|
49
|
+
*/
|
|
50
|
+
isCapabilityAvailable(capability) {
|
|
51
|
+
return PlatformDetector.isCapabilityAvailable('remote_mcp', capability);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=remote-mcp-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-mcp-adapter.js","sourceRoot":"","sources":["../../../src/platform/adapters/remote-mcp-adapter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;GAGG;AACH,MAAM,OAAO,gBAAgB;IACnB,YAAY,CAAe;IAC3B,UAAU,CAAa;IAE/B;QACE,IAAI,CAAC,YAAY,GAAG;YAClB,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,OAAO;YAChB,YAAY,EAAE,gBAAgB,CAAC,eAAe,CAAC,YAAY,CAAC;YAC5D,YAAY,EAAE,gBAAgB,CAAC,eAAe,CAAC,YAAY,CAAC;SAC7D,CAAC;QACF,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,oBAAoB;QAClB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU;QACd,oCAAoC;QACpC,6BAA6B;QAC7B,8CAA8C;QAC9C,6BAA6B;QAC7B,yBAAyB;IAC3B,CAAC;IAED;;OAEG;IACH,qBAAqB,CAAC,UAAkB;QACtC,OAAO,gBAAgB,CAAC,qBAAqB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IAC1E,CAAC;CACF"}
|
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
* Detects the running platform and provides capability information
|
|
4
4
|
* Requirements: 7.1, 7.2, 7.3
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* 注意: iOS/iPadOS/Web Skillsの検出ロジックはプレースホルダーです。
|
|
10
|
-
* 現時点では Claude Skills APIはサーバーサイドのサンドボックスで実行され、
|
|
11
|
-
* iOSのネイティブフレームワーク(EventKit等)にはアクセスできません。
|
|
6
|
+
* 実装:
|
|
7
|
+
* - desktop_mcp: macOS, Claude Desktop/Code(AppleScript統合)
|
|
8
|
+
* - remote_mcp: iOS/iPadOS/Web(Remote MCPサーバー経由)
|
|
12
9
|
*/
|
|
13
10
|
import type { PlatformType, PlatformInfo, PlatformCapability, FeatureSet } from './types.js';
|
|
14
11
|
export declare class PlatformDetector {
|
|
@@ -22,23 +19,15 @@ export declare class PlatformDetector {
|
|
|
22
19
|
* Check if running in MCP server environment
|
|
23
20
|
*/
|
|
24
21
|
private static isMCPEnvironment;
|
|
25
|
-
/**
|
|
26
|
-
* Check if running in Claude Skills environment
|
|
27
|
-
*/
|
|
28
|
-
private static isSkillsEnvironment;
|
|
29
|
-
/**
|
|
30
|
-
* Detect specific Skills platform type (iOS, iPadOS, or Web)
|
|
31
|
-
*/
|
|
32
|
-
private static detectSkillsPlatformType;
|
|
33
22
|
/**
|
|
34
23
|
* Get capabilities for a platform
|
|
35
24
|
* Requirement: 7.3
|
|
36
25
|
*/
|
|
37
26
|
static getCapabilities(platformType: PlatformType): PlatformCapability[];
|
|
38
27
|
/**
|
|
39
|
-
* Get
|
|
28
|
+
* Get integrations for a platform
|
|
40
29
|
*/
|
|
41
|
-
static
|
|
30
|
+
static getIntegrations(platformType: PlatformType): string[];
|
|
42
31
|
/**
|
|
43
32
|
* Get feature set for a platform
|
|
44
33
|
* Requirement: 7.3, 7.4
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detector.d.ts","sourceRoot":"","sources":["../../src/platform/detector.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"detector.d.ts","sourceRoot":"","sources":["../../src/platform/detector.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAyE7F,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAW;IAE1C;;;OAGG;WACU,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;IAqB5C;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAY/B;;;OAGG;IACH,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,kBAAkB,EAAE;IAIxE;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,EAAE;IAI5D;;;OAGG;IACH,MAAM,CAAC,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU;IAI5D;;OAEG;IACH,MAAM,CAAC,qBAAqB,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO;IAMzF;;OAEG;IACH,MAAM,CAAC,kBAAkB,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO;IAMtF;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO;CAKhF"}
|
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
* Detects the running platform and provides capability information
|
|
4
4
|
* Requirements: 7.1, 7.2, 7.3
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* 注意: iOS/iPadOS/Web Skillsの検出ロジックはプレースホルダーです。
|
|
10
|
-
* 現時点では Claude Skills APIはサーバーサイドのサンドボックスで実行され、
|
|
11
|
-
* iOSのネイティブフレームワーク(EventKit等)にはアクセスできません。
|
|
6
|
+
* 実装:
|
|
7
|
+
* - desktop_mcp: macOS, Claude Desktop/Code(AppleScript統合)
|
|
8
|
+
* - remote_mcp: iOS/iPadOS/Web(Remote MCPサーバー経由)
|
|
12
9
|
*/
|
|
13
10
|
import { CAPABILITY_NAMES, INTEGRATION_NAMES } from './types.js';
|
|
14
11
|
/**
|
|
@@ -16,51 +13,46 @@ import { CAPABILITY_NAMES, INTEGRATION_NAMES } from './types.js';
|
|
|
16
13
|
*/
|
|
17
14
|
const PLATFORM_CAPABILITIES = {
|
|
18
15
|
desktop_mcp: [
|
|
19
|
-
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
16
|
+
{
|
|
17
|
+
name: CAPABILITY_NAMES.FILE_SYSTEM,
|
|
18
|
+
available: true,
|
|
19
|
+
requiresPermission: false,
|
|
20
|
+
fallbackAvailable: false,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: CAPABILITY_NAMES.EXTERNAL_PROCESS,
|
|
24
|
+
available: true,
|
|
25
|
+
requiresPermission: false,
|
|
26
|
+
fallbackAvailable: false,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: CAPABILITY_NAMES.MCP_INTEGRATION,
|
|
30
|
+
available: true,
|
|
31
|
+
requiresPermission: false,
|
|
32
|
+
fallbackAvailable: false,
|
|
33
|
+
},
|
|
35
34
|
],
|
|
36
|
-
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
{ name: CAPABILITY_NAMES.MCP_INTEGRATION, available: false, requiresPermission: false, fallbackAvailable: false },
|
|
50
|
-
{ name: CAPABILITY_NAMES.SESSION_STORAGE, available: true, requiresPermission: false, fallbackAvailable: false },
|
|
51
|
-
{ name: CAPABILITY_NAMES.ICLOUD_SYNC, available: false, requiresPermission: false, fallbackAvailable: false },
|
|
52
|
-
{ name: CAPABILITY_NAMES.NATIVE_REMINDERS, available: false, requiresPermission: false, fallbackAvailable: true },
|
|
53
|
-
{ name: CAPABILITY_NAMES.NATIVE_CALENDAR, available: false, requiresPermission: false, fallbackAvailable: true },
|
|
35
|
+
remote_mcp: [
|
|
36
|
+
{
|
|
37
|
+
name: CAPABILITY_NAMES.REMOTE_ACCESS,
|
|
38
|
+
available: true,
|
|
39
|
+
requiresPermission: true,
|
|
40
|
+
fallbackAvailable: false,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: CAPABILITY_NAMES.CLOUD_STORAGE,
|
|
44
|
+
available: true,
|
|
45
|
+
requiresPermission: false,
|
|
46
|
+
fallbackAvailable: false,
|
|
47
|
+
},
|
|
54
48
|
],
|
|
55
49
|
};
|
|
56
50
|
/**
|
|
57
|
-
*
|
|
51
|
+
* Integrations available on each platform
|
|
58
52
|
*/
|
|
59
53
|
const PLATFORM_INTEGRATIONS = {
|
|
60
54
|
desktop_mcp: [INTEGRATION_NAMES.APPLESCRIPT, INTEGRATION_NAMES.NOTION_MCP],
|
|
61
|
-
|
|
62
|
-
ipados_skills: [INTEGRATION_NAMES.REMINDERS, INTEGRATION_NAMES.CALENDAR, INTEGRATION_NAMES.NOTION_CONNECTOR],
|
|
63
|
-
web_skills: [],
|
|
55
|
+
remote_mcp: [INTEGRATION_NAMES.REMOTE_MCP_SERVER],
|
|
64
56
|
};
|
|
65
57
|
/**
|
|
66
58
|
* Feature sets for each platform
|
|
@@ -74,28 +66,12 @@ const PLATFORM_FEATURES = {
|
|
|
74
66
|
notionIntegration: true,
|
|
75
67
|
fileSystemAccess: true,
|
|
76
68
|
},
|
|
77
|
-
|
|
78
|
-
taskAnalysis: true,
|
|
79
|
-
persistentConfig: true, // via iCloud
|
|
80
|
-
appleReminders: true, // native
|
|
81
|
-
calendarIntegration: true, // native
|
|
82
|
-
notionIntegration: true, // via Notion Connector
|
|
83
|
-
fileSystemAccess: false,
|
|
84
|
-
},
|
|
85
|
-
ipados_skills: {
|
|
86
|
-
taskAnalysis: true,
|
|
87
|
-
persistentConfig: true, // via iCloud
|
|
88
|
-
appleReminders: true, // native
|
|
89
|
-
calendarIntegration: true, // native
|
|
90
|
-
notionIntegration: true, // via Notion Connector
|
|
91
|
-
fileSystemAccess: false,
|
|
92
|
-
},
|
|
93
|
-
web_skills: {
|
|
69
|
+
remote_mcp: {
|
|
94
70
|
taskAnalysis: true,
|
|
95
|
-
persistentConfig:
|
|
96
|
-
appleReminders:
|
|
97
|
-
calendarIntegration:
|
|
98
|
-
notionIntegration:
|
|
71
|
+
persistentConfig: true, // via cloud storage
|
|
72
|
+
appleReminders: true, // via Remote MCP Server
|
|
73
|
+
calendarIntegration: true, // via Remote MCP Server
|
|
74
|
+
notionIntegration: true, // via Remote MCP Server
|
|
99
75
|
fileSystemAccess: false,
|
|
100
76
|
},
|
|
101
77
|
};
|
|
@@ -112,20 +88,17 @@ export class PlatformDetector {
|
|
|
112
88
|
type: 'desktop_mcp',
|
|
113
89
|
version: this.VERSION,
|
|
114
90
|
capabilities: this.getCapabilities('desktop_mcp'),
|
|
115
|
-
|
|
91
|
+
integrations: this.getIntegrations('desktop_mcp'),
|
|
116
92
|
};
|
|
117
93
|
}
|
|
118
|
-
//
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
throw new Error('Unsupported platform: Unable to detect running environment');
|
|
94
|
+
// Default to remote_mcp for non-MCP environments
|
|
95
|
+
// These clients connect via Remote MCP Server
|
|
96
|
+
return {
|
|
97
|
+
type: 'remote_mcp',
|
|
98
|
+
version: this.VERSION,
|
|
99
|
+
capabilities: this.getCapabilities('remote_mcp'),
|
|
100
|
+
integrations: this.getIntegrations('remote_mcp'),
|
|
101
|
+
};
|
|
129
102
|
}
|
|
130
103
|
/**
|
|
131
104
|
* Check if running in MCP server environment
|
|
@@ -140,35 +113,6 @@ export class PlatformDetector {
|
|
|
140
113
|
return false;
|
|
141
114
|
}
|
|
142
115
|
}
|
|
143
|
-
/**
|
|
144
|
-
* Check if running in Claude Skills environment
|
|
145
|
-
*/
|
|
146
|
-
static isSkillsEnvironment() {
|
|
147
|
-
try {
|
|
148
|
-
return typeof window !== 'undefined' && window.claude !== undefined;
|
|
149
|
-
}
|
|
150
|
-
catch {
|
|
151
|
-
return false;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Detect specific Skills platform type (iOS, iPadOS, or Web)
|
|
156
|
-
*/
|
|
157
|
-
static detectSkillsPlatformType() {
|
|
158
|
-
try {
|
|
159
|
-
const userAgent = window.navigator?.userAgent || global.navigator?.userAgent || '';
|
|
160
|
-
if (userAgent.includes('iPhone')) {
|
|
161
|
-
return 'ios_skills';
|
|
162
|
-
}
|
|
163
|
-
if (userAgent.includes('iPad')) {
|
|
164
|
-
return 'ipados_skills';
|
|
165
|
-
}
|
|
166
|
-
return 'web_skills';
|
|
167
|
-
}
|
|
168
|
-
catch {
|
|
169
|
-
return 'web_skills';
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
116
|
/**
|
|
173
117
|
* Get capabilities for a platform
|
|
174
118
|
* Requirement: 7.3
|
|
@@ -177,9 +121,9 @@ export class PlatformDetector {
|
|
|
177
121
|
return [...PLATFORM_CAPABILITIES[platformType]];
|
|
178
122
|
}
|
|
179
123
|
/**
|
|
180
|
-
* Get
|
|
124
|
+
* Get integrations for a platform
|
|
181
125
|
*/
|
|
182
|
-
static
|
|
126
|
+
static getIntegrations(platformType) {
|
|
183
127
|
return [...PLATFORM_INTEGRATIONS[platformType]];
|
|
184
128
|
}
|
|
185
129
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detector.js","sourceRoot":"","sources":["../../src/platform/detector.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"detector.js","sourceRoot":"","sources":["../../src/platform/detector.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEjE;;GAEG;AACH,MAAM,qBAAqB,GAA+C;IACxE,WAAW,EAAE;QACX;YACE,IAAI,EAAE,gBAAgB,CAAC,WAAW;YAClC,SAAS,EAAE,IAAI;YACf,kBAAkB,EAAE,KAAK;YACzB,iBAAiB,EAAE,KAAK;SACzB;QACD;YACE,IAAI,EAAE,gBAAgB,CAAC,gBAAgB;YACvC,SAAS,EAAE,IAAI;YACf,kBAAkB,EAAE,KAAK;YACzB,iBAAiB,EAAE,KAAK;SACzB;QACD;YACE,IAAI,EAAE,gBAAgB,CAAC,eAAe;YACtC,SAAS,EAAE,IAAI;YACf,kBAAkB,EAAE,KAAK;YACzB,iBAAiB,EAAE,KAAK;SACzB;KACF;IACD,UAAU,EAAE;QACV;YACE,IAAI,EAAE,gBAAgB,CAAC,aAAa;YACpC,SAAS,EAAE,IAAI;YACf,kBAAkB,EAAE,IAAI;YACxB,iBAAiB,EAAE,KAAK;SACzB;QACD;YACE,IAAI,EAAE,gBAAgB,CAAC,aAAa;YACpC,SAAS,EAAE,IAAI;YACf,kBAAkB,EAAE,KAAK;YACzB,iBAAiB,EAAE,KAAK;SACzB;KACF;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,qBAAqB,GAAmC;IAC5D,WAAW,EAAE,CAAC,iBAAiB,CAAC,WAAW,EAAE,iBAAiB,CAAC,UAAU,CAAC;IAC1E,UAAU,EAAE,CAAC,iBAAiB,CAAC,iBAAiB,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,MAAM,iBAAiB,GAAqC;IAC1D,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,IAAI;Q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EAAE,iBAAiB,IAAI,KAAK,CAAC;IAChD,CAAC"}
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -6,6 +6,4 @@ export * from './types.js';
|
|
|
6
6
|
export * from './detector.js';
|
|
7
7
|
export * from './adapter-factory.js';
|
|
8
8
|
export * from './adapters/mcp-adapter.js';
|
|
9
|
-
export * from './adapters/skills-adapter-ios.js';
|
|
10
|
-
export * from './adapters/skills-adapter-web.js';
|
|
11
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platform/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platform/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC"}
|
package/dist/platform/index.js
CHANGED
|
@@ -6,6 +6,4 @@ export * from './types.js';
|
|
|
6
6
|
export * from './detector.js';
|
|
7
7
|
export * from './adapter-factory.js';
|
|
8
8
|
export * from './adapters/mcp-adapter.js';
|
|
9
|
-
export * from './adapters/skills-adapter-ios.js';
|
|
10
|
-
export * from './adapters/skills-adapter-web.js';
|
|
11
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/platform/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/platform/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC"}
|
package/dist/platform/types.d.ts
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Defines types for multi-platform support
|
|
4
4
|
* Requirements: 7.1, 7.2, 7.3
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* (
|
|
6
|
+
* 実装:
|
|
7
|
+
* - desktop_mcp: Claude Desktop/Code(AppleScript統合)
|
|
8
|
+
* - remote_mcp: iOS/iPadOS/Web(Remote MCPサーバー経由)
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Platform type enumeration
|
|
12
12
|
*/
|
|
13
|
-
export type PlatformType = 'desktop_mcp' | '
|
|
13
|
+
export type PlatformType = 'desktop_mcp' | 'remote_mcp';
|
|
14
14
|
/**
|
|
15
15
|
* Platform information
|
|
16
16
|
*/
|
|
@@ -18,7 +18,7 @@ export interface PlatformInfo {
|
|
|
18
18
|
type: PlatformType;
|
|
19
19
|
version: string;
|
|
20
20
|
capabilities: PlatformCapability[];
|
|
21
|
-
|
|
21
|
+
integrations: string[];
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Platform capability definition
|
|
@@ -40,23 +40,12 @@ export interface FeatureSet {
|
|
|
40
40
|
notionIntegration: boolean;
|
|
41
41
|
fileSystemAccess: boolean;
|
|
42
42
|
}
|
|
43
|
-
/**
|
|
44
|
-
* Permission status for native integrations
|
|
45
|
-
*/
|
|
46
|
-
export interface PermissionStatus {
|
|
47
|
-
reminders: 'granted' | 'denied' | 'not_determined';
|
|
48
|
-
calendar: 'granted' | 'denied' | 'not_determined';
|
|
49
|
-
notion: 'granted' | 'denied' | 'not_determined';
|
|
50
|
-
canRequestPermission: boolean;
|
|
51
|
-
}
|
|
52
43
|
/**
|
|
53
44
|
* Platform-specific configuration
|
|
54
45
|
*/
|
|
55
46
|
export interface PlatformSpecificConfig {
|
|
56
47
|
type: PlatformType;
|
|
57
|
-
nativeIntegrationsEnabled: boolean;
|
|
58
48
|
fallbackMethods: string[];
|
|
59
|
-
permissionsGranted: Record<string, boolean>;
|
|
60
49
|
}
|
|
61
50
|
/**
|
|
62
51
|
* Platform adapter interface
|
|
@@ -103,35 +92,9 @@ export interface ConfigStorage {
|
|
|
103
92
|
delete(): Promise<void>;
|
|
104
93
|
}
|
|
105
94
|
/**
|
|
106
|
-
*
|
|
107
|
-
* Used for iOS/iPadOS native integrations
|
|
108
|
-
*/
|
|
109
|
-
export interface NativeIntegrationService {
|
|
110
|
-
/**
|
|
111
|
-
* Create a reminder using native API
|
|
112
|
-
*/
|
|
113
|
-
createReminder(request: NativeReminderRequest): Promise<NativeReminderResult>;
|
|
114
|
-
/**
|
|
115
|
-
* Fetch calendar events using native API
|
|
116
|
-
*/
|
|
117
|
-
fetchCalendarEvents(startDate: string, endDate: string): Promise<NativeCalendarEvent[]>;
|
|
118
|
-
/**
|
|
119
|
-
* Create a Notion page using Connector API
|
|
120
|
-
*/
|
|
121
|
-
createNotionPage(request: NativeNotionRequest): Promise<NativeNotionResult>;
|
|
122
|
-
/**
|
|
123
|
-
* Check permission status
|
|
124
|
-
*/
|
|
125
|
-
checkPermissions(): Promise<PermissionStatus>;
|
|
126
|
-
/**
|
|
127
|
-
* Request permissions from user
|
|
128
|
-
*/
|
|
129
|
-
requestPermissions(): Promise<PermissionStatus>;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Native reminder request
|
|
95
|
+
* Reminder request
|
|
133
96
|
*/
|
|
134
|
-
export interface
|
|
97
|
+
export interface ReminderRequest {
|
|
135
98
|
title: string;
|
|
136
99
|
notes?: string;
|
|
137
100
|
dueDate?: string;
|
|
@@ -139,19 +102,19 @@ export interface NativeReminderRequest {
|
|
|
139
102
|
priority?: 'low' | 'medium' | 'high';
|
|
140
103
|
}
|
|
141
104
|
/**
|
|
142
|
-
*
|
|
105
|
+
* Reminder result
|
|
143
106
|
*/
|
|
144
|
-
export interface
|
|
107
|
+
export interface ReminderResult {
|
|
145
108
|
success: boolean;
|
|
146
|
-
method: '
|
|
109
|
+
method: 'applescript' | 'fallback';
|
|
147
110
|
reminderId?: string;
|
|
148
111
|
reminderUrl?: string;
|
|
149
112
|
error?: string;
|
|
150
113
|
}
|
|
151
114
|
/**
|
|
152
|
-
*
|
|
115
|
+
* Calendar event
|
|
153
116
|
*/
|
|
154
|
-
export interface
|
|
117
|
+
export interface CalendarEvent {
|
|
155
118
|
id: string;
|
|
156
119
|
title: string;
|
|
157
120
|
start: string;
|
|
@@ -160,20 +123,20 @@ export interface NativeCalendarEvent {
|
|
|
160
123
|
source: string;
|
|
161
124
|
}
|
|
162
125
|
/**
|
|
163
|
-
*
|
|
126
|
+
* Notion page request
|
|
164
127
|
*/
|
|
165
|
-
export interface
|
|
128
|
+
export interface NotionRequest {
|
|
166
129
|
databaseId: string;
|
|
167
130
|
title: string;
|
|
168
131
|
properties?: Record<string, unknown>;
|
|
169
132
|
content?: string;
|
|
170
133
|
}
|
|
171
134
|
/**
|
|
172
|
-
*
|
|
135
|
+
* Notion page result
|
|
173
136
|
*/
|
|
174
|
-
export interface
|
|
137
|
+
export interface NotionResult {
|
|
175
138
|
success: boolean;
|
|
176
|
-
method: '
|
|
139
|
+
method: 'mcp' | 'fallback';
|
|
177
140
|
pageId?: string;
|
|
178
141
|
pageUrl?: string;
|
|
179
142
|
error?: string;
|
|
@@ -186,11 +149,8 @@ export declare const CAPABILITY_NAMES: {
|
|
|
186
149
|
readonly FILE_SYSTEM: "file_system";
|
|
187
150
|
readonly EXTERNAL_PROCESS: "external_process";
|
|
188
151
|
readonly MCP_INTEGRATION: "mcp_integration";
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
191
|
-
readonly NATIVE_REMINDERS: "native_reminders";
|
|
192
|
-
readonly NATIVE_CALENDAR: "native_calendar";
|
|
193
|
-
readonly NOTION_CONNECTOR: "notion_connector";
|
|
152
|
+
readonly REMOTE_ACCESS: "remote_access";
|
|
153
|
+
readonly CLOUD_STORAGE: "cloud_storage";
|
|
194
154
|
};
|
|
195
155
|
/**
|
|
196
156
|
* Integration names
|
|
@@ -198,8 +158,6 @@ export declare const CAPABILITY_NAMES: {
|
|
|
198
158
|
export declare const INTEGRATION_NAMES: {
|
|
199
159
|
readonly APPLESCRIPT: "applescript";
|
|
200
160
|
readonly NOTION_MCP: "notion_mcp";
|
|
201
|
-
readonly
|
|
202
|
-
readonly REMINDERS: "reminders";
|
|
203
|
-
readonly CALENDAR: "calendar";
|
|
161
|
+
readonly REMOTE_MCP_SERVER: "remote_mcp_server";
|
|
204
162
|
};
|
|
205
163
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/platform/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/platform/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,YAAY,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,kBAAkB,EAAE,CAAC;IACnC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,UA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c;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,KAAK,GAAG,UAAU,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;CAMnB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC"}
|
package/dist/platform/types.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Defines types for multi-platform support
|
|
4
4
|
* Requirements: 7.1, 7.2, 7.3
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* (
|
|
6
|
+
* 実装:
|
|
7
|
+
* - desktop_mcp: Claude Desktop/Code(AppleScript統合)
|
|
8
|
+
* - remote_mcp: iOS/iPadOS/Web(Remote MCPサーバー経由)
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Capability names
|
|
@@ -14,11 +14,8 @@ export const CAPABILITY_NAMES = {
|
|
|
14
14
|
FILE_SYSTEM: 'file_system',
|
|
15
15
|
EXTERNAL_PROCESS: 'external_process',
|
|
16
16
|
MCP_INTEGRATION: 'mcp_integration',
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
NATIVE_REMINDERS: 'native_reminders',
|
|
20
|
-
NATIVE_CALENDAR: 'native_calendar',
|
|
21
|
-
NOTION_CONNECTOR: 'notion_connector',
|
|
17
|
+
REMOTE_ACCESS: 'remote_access',
|
|
18
|
+
CLOUD_STORAGE: 'cloud_storage',
|
|
22
19
|
};
|
|
23
20
|
/**
|
|
24
21
|
* Integration names
|
|
@@ -26,8 +23,6 @@ export const CAPABILITY_NAMES = {
|
|
|
26
23
|
export const INTEGRATION_NAMES = {
|
|
27
24
|
APPLESCRIPT: 'applescript',
|
|
28
25
|
NOTION_MCP: 'notion_mcp',
|
|
29
|
-
|
|
30
|
-
REMINDERS: 'reminders',
|
|
31
|
-
CALENDAR: 'calendar',
|
|
26
|
+
REMOTE_MCP_SERVER: 'remote_mcp_server',
|
|
32
27
|
};
|
|
33
28
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/platform/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/platform/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA2JH;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,aAAa;IAC1B,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;CACtB,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC"}
|