tripit 0.1.2 → 0.1.4
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 +29 -5
- package/dist/index.js +48801 -0
- package/{bin → dist}/tripit.js +5 -4
- package/package.json +11 -13
- package/index.ts +0 -1023
- package/src/auth.ts +0 -242
- package/src/constants.ts +0 -141
- package/src/index.ts +0 -2
- package/src/tripit.ts +0 -1295
- package/src/types.ts +0 -296
- package/src/utils.ts +0 -41
package/README.md
CHANGED
|
@@ -27,10 +27,34 @@ Show available commands:
|
|
|
27
27
|
tripit --help
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
###
|
|
30
|
+
### Agent Skill Installation
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
Install with `npx skills`:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx skills add dvcrn/tripit
|
|
36
|
+
npx skills add dvcrn/tripit --full-depth --list
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Install with Claude plugin marketplace CLI:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
claude plugin marketplace add dvcrn/tripit
|
|
43
|
+
claude plugin install tripit@dvcrn-tripit --scope user
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
If the marketplace is already configured, update before reinstall tests:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
claude plugin marketplace update dvcrn-tripit
|
|
50
|
+
claude plugin install tripit@dvcrn-tripit --scope user
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Claude UI flow:
|
|
54
|
+
|
|
55
|
+
1. Open Claude plugin marketplace UI.
|
|
56
|
+
2. Add or select `dvcrn/tripit`.
|
|
57
|
+
3. Install plugin `tripit` from marketplace `dvcrn-tripit`.
|
|
34
58
|
|
|
35
59
|
### Common Workflow
|
|
36
60
|
|
|
@@ -103,8 +127,6 @@ tripit trips delete <TRIP_UUID>
|
|
|
103
127
|
import TripIt from "tripit";
|
|
104
128
|
|
|
105
129
|
const client = new TripIt({
|
|
106
|
-
clientId: process.env.TRIPIT_CLIENT_ID!,
|
|
107
|
-
clientSecret: process.env.TRIPIT_CLIENT_SECRET!,
|
|
108
130
|
username: process.env.TRIPIT_USERNAME!,
|
|
109
131
|
password: process.env.TRIPIT_PASSWORD!,
|
|
110
132
|
});
|
|
@@ -124,4 +146,6 @@ const created = await client.createTrip({
|
|
|
124
146
|
console.log(created.Trip.uuid);
|
|
125
147
|
```
|
|
126
148
|
|
|
149
|
+
`clientId` is optional. If omitted, the library uses the public TripIt mobile app client ID by default.
|
|
150
|
+
|
|
127
151
|
The package also exports types from `src/types.ts`.
|