@onairosofficial/onairos-capacitor 0.1.1 → 0.1.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/CAPACITOR_QUICK_START.md +379 -0
- package/CONNECTORS.md +122 -0
- package/OnairosofficialOnairosCapacitor.podspec +13 -0
- package/Package.swift +26 -0
- package/README.md +7 -13
- package/dist/onairos.capacitor.esm.js +1 -1
- package/dist/onairos.capacitor.esm.turbopack.js +1 -1
- package/docs/CAPACITOR_INTEGRATION_GUIDE.md +159 -0
- package/docs/CAPACITOR_MOCK_APP_TESTING.md +213 -0
- package/docs/CAPACITOR_SDK_FIXES_SUMMARY.md +65 -0
- package/docs/CROSS_SDK_PARITY.md +239 -0
- package/docs/DATA_FREQUENCY.md +57 -0
- package/docs/DEVELOPER_SDK_CHANGES.md +532 -0
- package/docs/INCIDENT_ENABLETRAINING_PIN_WEB_8.1.9.md +82 -0
- package/docs/ONAIROS_BUTTON_PROPS.md +152 -0
- package/docs/PLATFORM_APIS.md +559 -0
- package/docs/RAW_MEMORIES_API.md +305 -0
- package/docs/RAW_MEMORIES_SDK_UPDATE.md +54 -0
- package/docs/SDK_PARITY_ROLLUP_2026_04_24_to_05_02.md +96 -0
- package/docs/oldFixes.md +216 -0
- package/ios/Sources/OnairosNativeConnectorsPlugin/OnairosChatGPTNativePlugin.swift +993 -0
- package/ios/Sources/OnairosNativeConnectorsPlugin/OnairosNetflixNativePlugin.swift +33 -0
- package/ios/Sources/OnairosNativeConnectorsPlugin/OnairosSpotifyNativePlugin.swift +1082 -0
- package/onairos.d.ts +10 -10
- package/package.json +9 -6
- package/src/nativeConnectors.js +5 -0
- package/src/onairos.capacitor.jsx +1 -2
- package/src/onairos.jsx +1 -1
package/onairos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'onairos-
|
|
1
|
+
declare module '@onairosofficial/onairos-capacitor' {
|
|
2
2
|
/**
|
|
3
3
|
* Inference formatting options (v6.1.0)
|
|
4
4
|
* Passed to inference endpoints to control result sorting and formatting
|
|
@@ -422,7 +422,7 @@ declare module 'onairos-npm-capacitor' {
|
|
|
422
422
|
*
|
|
423
423
|
* @example
|
|
424
424
|
* ```typescript
|
|
425
|
-
* import { updateGoogleClientIds } from 'onairos-
|
|
425
|
+
* import { updateGoogleClientIds } from '@onairosofficial/onairos-capacitor';
|
|
426
426
|
*
|
|
427
427
|
* // For Capacitor apps - provide YOUR OWN client IDs
|
|
428
428
|
* updateGoogleClientIds({
|
|
@@ -522,7 +522,7 @@ declare module 'onairos-npm-capacitor' {
|
|
|
522
522
|
*
|
|
523
523
|
* @example
|
|
524
524
|
* ```typescript
|
|
525
|
-
* import { updateYoutubeClientId } from 'onairos-
|
|
525
|
+
* import { updateYoutubeClientId } from '@onairosofficial/onairos-capacitor';
|
|
526
526
|
*
|
|
527
527
|
* updateYoutubeClientId('your-youtube-client-id.apps.googleusercontent.com');
|
|
528
528
|
* ```
|
|
@@ -597,7 +597,7 @@ declare module 'onairos-npm-capacitor' {
|
|
|
597
597
|
*
|
|
598
598
|
* @example
|
|
599
599
|
* ```typescript
|
|
600
|
-
* import { connectChatGPTHostedImport } from 'onairos-
|
|
600
|
+
* import { connectChatGPTHostedImport } from '@onairosofficial/onairos-capacitor';
|
|
601
601
|
*
|
|
602
602
|
* const result = await connectChatGPTHostedImport({
|
|
603
603
|
* onStatus: (s) => console.log('status', s.status),
|
|
@@ -644,13 +644,13 @@ declare module 'onairos-npm-capacitor' {
|
|
|
644
644
|
export function maskEmail(email: string | null | undefined): string | null;
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
-
declare module 'onairos-
|
|
648
|
-
export * from 'onairos-
|
|
649
|
-
export { default } from 'onairos-
|
|
647
|
+
declare module '@onairosofficial/onairos-capacitor/capacitor' {
|
|
648
|
+
export * from '@onairosofficial/onairos-capacitor';
|
|
649
|
+
export { default } from '@onairosofficial/onairos-capacitor';
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
declare module 'onairos-
|
|
653
|
-
export * from 'onairos-
|
|
654
|
-
export { default } from 'onairos-
|
|
652
|
+
declare module '@onairosofficial/onairos-capacitor/connectors' {
|
|
653
|
+
export * from '@onairosofficial/onairos-capacitor';
|
|
654
|
+
export { default } from '@onairosofficial/onairos-capacitor';
|
|
655
655
|
}
|
|
656
656
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onairosofficial/onairos-capacitor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20 <26"
|
|
6
6
|
},
|
|
@@ -69,7 +69,6 @@
|
|
|
69
69
|
"@babel/plugin-transform-runtime": "^7.23.7",
|
|
70
70
|
"@babel/preset-env": "^7.28.5",
|
|
71
71
|
"@babel/preset-react": "^7.27.1",
|
|
72
|
-
"@onairosofficial/capacitor-llm-onairos": "file:packages/capacitor-llm-onairos",
|
|
73
72
|
"@playwright/test": "^1.59.1",
|
|
74
73
|
"@radix-ui/react-checkbox": "^1.3.1",
|
|
75
74
|
"@radix-ui/react-label": "^2.1.6",
|
|
@@ -124,15 +123,11 @@
|
|
|
124
123
|
"webpack-obfuscator": "^3.6.0"
|
|
125
124
|
},
|
|
126
125
|
"peerDependencies": {
|
|
127
|
-
"@onairosofficial/capacitor-llm-onairos": "^0.1.5",
|
|
128
126
|
"react": "^18.2.0 || ^19.0.0",
|
|
129
127
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
130
128
|
"tailwindcss": ">=3.0.0"
|
|
131
129
|
},
|
|
132
130
|
"peerDependenciesMeta": {
|
|
133
|
-
"@onairosofficial/capacitor-llm-onairos": {
|
|
134
|
-
"optional": true
|
|
135
|
-
},
|
|
136
131
|
"tailwindcss": {
|
|
137
132
|
"optional": true
|
|
138
133
|
}
|
|
@@ -187,6 +182,11 @@
|
|
|
187
182
|
],
|
|
188
183
|
"author": "Zion Darko",
|
|
189
184
|
"license": "Apache-2.0",
|
|
185
|
+
"capacitor": {
|
|
186
|
+
"ios": {
|
|
187
|
+
"src": "ios"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
190
|
"bugs": {
|
|
191
191
|
"url": "https://github.com/zd819/onairos-capacitor/issues"
|
|
192
192
|
},
|
|
@@ -194,6 +194,9 @@
|
|
|
194
194
|
"files": [
|
|
195
195
|
"dist",
|
|
196
196
|
"src",
|
|
197
|
+
"ios",
|
|
198
|
+
"Package.swift",
|
|
199
|
+
"OnairosofficialOnairosCapacitor.podspec",
|
|
197
200
|
"onairos.d.ts",
|
|
198
201
|
"package.json",
|
|
199
202
|
"README.md",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { registerPlugin } from '@capacitor/core';
|
|
2
|
+
|
|
3
|
+
export const OnairosChatGPTNative = registerPlugin('OnairosChatGPTNative');
|
|
4
|
+
export const OnairosSpotifyNative = registerPlugin('OnairosSpotifyNative');
|
|
5
|
+
export const OnairosNetflixNative = registerPlugin('OnairosNetflixNative');
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// This build avoids global Tailwind preflight (which can pollute the host app),
|
|
5
5
|
// but includes a minimal scoped reset inside `.onairos-modal` so the SDK UI
|
|
6
6
|
// still renders correctly.
|
|
7
|
-
import '
|
|
7
|
+
import './nativeConnectors.js';
|
|
8
8
|
import cssText from './styles/tailwind.capacitor.css?inline';
|
|
9
9
|
import { registerOnairosCssText } from './styles/sdkCssRegistry.js';
|
|
10
10
|
|
|
@@ -13,4 +13,3 @@ registerOnairosCssText(cssText);
|
|
|
13
13
|
|
|
14
14
|
export * from './onairos.core.jsx';
|
|
15
15
|
export { default } from './onairos.core.jsx';
|
|
16
|
-
|
package/src/onairos.jsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// IMPORTANT:
|
|
2
2
|
// `package.json#exports.import` points at `dist/onairos.esm.js` built from this file.
|
|
3
3
|
// This is the default web entrypoint and includes full Tailwind (including preflight).
|
|
4
|
-
import '
|
|
4
|
+
import './nativeConnectors.js';
|
|
5
5
|
import './styles/tailwind.css';
|
|
6
6
|
import cssText from './styles/tailwind.css?inline';
|
|
7
7
|
import { registerOnairosCssText } from './styles/sdkCssRegistry.js';
|