droxul 1.0.15 → 1.0.17

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.
@@ -1,6 +1,6 @@
1
1
  {"type":"entity","name":"chart_1781360676753_chart","entityType":"structural_tension_chart","observations":["Chart created for jgwill/droxul on 2026-06-13T14:24:36.753Z"],"metadata":{"chartId":"chart_1781360676753","repository":"jgwill/droxul","level":0,"createdAt":"2026-06-13T14:24:36.753Z","updatedAt":"2026-06-13T14:24:36.753Z"}}
2
2
  {"type":"entity","name":"chart_1781360676753_desired_outcome","entityType":"desired_outcome","observations":["Successful development and collaboration on jgwill/droxul"],"metadata":{"chartId":"chart_1781360676753","createdAt":"2026-06-13T14:24:36.753Z","updatedAt":"2026-06-13T14:24:36.753Z"}}
3
- {"type":"entity","name":"chart_1781360676753_current_reality","entityType":"current_reality","observations":["Repository initialized with STC bot integration","[2026-06-13T14:24:36.825Z] @stcissue triggered: Issue #1 - list/info/space return empty: Dropbox API now emits compact JSON (no space after colon) (issues.opened)"],"metadata":{"chartId":"chart_1781360676753","createdAt":"2026-06-13T14:24:36.753Z","updatedAt":"2026-06-13T14:24:36.825Z"}}
3
+ {"type":"entity","name":"chart_1781360676753_current_reality","entityType":"current_reality","observations":["Repository initialized with STC bot integration","[2026-06-13T14:24:36.825Z] @stcissue triggered: Issue #1 - list/info/space return empty: Dropbox API now emits compact JSON (no space after colon) (issues.opened)","[2026-06-13T14:43:09.362Z] @stcissue triggered: Issue #2 - share: link contains JSON-escaped ampersand instead of & (unusable URL) (issues.opened)"],"metadata":{"chartId":"chart_1781360676753","createdAt":"2026-06-13T14:24:36.753Z","updatedAt":"2026-06-13T14:43:09.362Z"}}
4
4
  {"type":"relation","from":"chart_1781360676753_chart","to":"chart_1781360676753_desired_outcome","relationType":"contains","metadata":{"createdAt":"2026-06-13T14:24:36.753Z"}}
5
5
  {"type":"relation","from":"chart_1781360676753_chart","to":"chart_1781360676753_current_reality","relationType":"contains","metadata":{"createdAt":"2026-06-13T14:24:36.753Z"}}
6
6
  {"type":"relation","from":"chart_1781360676753_current_reality","to":"chart_1781360676753_desired_outcome","relationType":"creates_tension_with","metadata":{"createdAt":"2026-06-13T14:24:36.753Z"}}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## Version 1.0.17 - 13 Jun 2026
4
+ * Fix jgwill/droxul#2 `share`: the returned URL contained Dropbox's JSON-escaped ampersand (the literal six characters `backslash-u-0-0-2-6`) instead of a real `&`, e.g. `...rlkey=xxx<esc>dl=0`, producing an unusable link. The share-link extractor now decodes that escape into `&`. Surfaced by the new Dropbox `scl/fi/` share-link format, which appends a `&dl=0` query parameter.
5
+
3
6
  ## Version 1.0.15 - 13 Jun 2026
4
7
  * Fix jgwill/droxul#1: `list`/`info`/`space`/`share`/`sha` returned empty because Dropbox now emits compact JSON (`"entries":[{`) instead of pretty-spaced JSON (`"entries": [{`). All response parsers are now whitespace-tolerant (`: ` -> `: *`), backward-compatible with the old spaced format. Not a token/auth change — the legacy `OAUTH_ACCESS_TOKEN` still works.
5
8
 
@@ -1335,7 +1335,7 @@ function db_share
1335
1335
  #Check
1336
1336
  if grep -q "^HTTP/[12].* 200" "$RESPONSE_FILE"; then
1337
1337
  print " > Share link: "
1338
- SHARE_LINK=$(sed -n 's/.*"url": *"\([^"]*\).*/\1/p' "$RESPONSE_FILE")
1338
+ SHARE_LINK=$(sed -n 's/.*"url": *"\([^"]*\).*/\1/p' "$RESPONSE_FILE" | sed 's/\\u0026/\&/g')
1339
1339
  echo "$SHARE_LINK"
1340
1340
  else
1341
1341
  get_Share "$FILE_DST"
@@ -1353,7 +1353,7 @@ function get_Share
1353
1353
  #Check
1354
1354
  if grep -q "^HTTP/[12].* 200" "$RESPONSE_FILE"; then
1355
1355
  print " > Share link: "
1356
- SHARE_LINK=$(sed -n 's/.*"url": *"\([^"]*\).*/\1/p' "$RESPONSE_FILE")
1356
+ SHARE_LINK=$(sed -n 's/.*"url": *"\([^"]*\).*/\1/p' "$RESPONSE_FILE" | sed 's/\\u0026/\&/g')
1357
1357
  echo "$SHARE_LINK"
1358
1358
  else
1359
1359
  print "FAILED\n"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "droxul",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "Droxul -- Dropbox Uploader is a **BASH** script which can be used to upload, download, delete, list files (and more!) from **Dropbox**, an online file sharing, synchronization and backup service.",
5
5
  "main": "index.js",
6
6
  "scripts": {